> For the complete documentation index, see [llms.txt](https://minara.ai/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://minara.ai/docs/workflow/agentic-workflow.md).

# Overview

Workflow is a visual automation tool built into Minara. You describe what you want to automate (in plain language or by filling in a template) and Minara builds a node-based pipeline that runs on a schedule or in response to market events.

Access it at `/app/workflow`.

{% embed url="<https://drive.google.com/file/d/1fTq804srm0k2ILKbsOgOfN7J0fo-MMj6/view?usp=sharing>" %}

## What you can automate

Workflows combine triggers, conditions, and actions into a visual pipeline. Common use cases:

* Monitor a wallet address and copy its trades automatically
* Alert you (email or Telegram) when Bitcoin (BTC), Ethereum (ETH), Solana (SOL), gold (XAU), or a stock like NVDA crosses a price threshold
* Run a weekly AI market summary covering BTC dominance, ETH DeFi activity, and macro signals, then send it to your inbox
* Track Polymarket odds and notify you when a position shifts

## Quick templates

The fastest way to start is with a pre-built template. Select one on the Workflow page and fill in the parameters.

| Template                   | What it does                                                                                 |
| -------------------------- | -------------------------------------------------------------------------------------------- |
| Copy Trade                 | Mirrors trades from a monitored wallet address. Configurable buy amount and sell conditions. |
| Polymarket Address Monitor | Tracks a Polymarket wallet's activity with optional AI analysis of trade quality.            |
| Polymarket Odds Monitor    | Notifies you when a prediction market outcome crosses a probability threshold you set.       |

## Build from a description

If a template doesn't fit your use case, describe what you want in the chat input on the Workflow page. Minara generates the workflow and shows it as a node diagram. You can adjust it through follow-up prompts before deploying.

{% hint style="info" %}
Workflows can only be edited through the chat where they were created, and only before deployment. To change a deployed workflow, create a new one.
{% endhint %}

## Node types

**Triggers**: start the workflow when a condition is met:

* **Token price monitor**: fires when a token crosses a price level (e.g. "ETH breaks $4,000" or "BTC crosses $120,000")
* **Wallet activity monitor**: fires when a tracked wallet buys or sells
* **Polymarket odds monitor**: fires when a prediction market outcome probability moves past a threshold
* **Polymarket wallet monitor**: fires when a Polymarket wallet places a bet
* **Scheduled**: runs on a fixed schedule (e.g. daily at 8 AM, every Sunday at 6 PM)
* **Delayed start**: runs once after a specified delay

**Logic**: control flow:

* **If condition**: branches the workflow based on a condition being true or false

**Actions**: what the workflow does when triggered:

* **Notify via email**: sends an alert to the email linked to your account
* **Notify via Telegram**: sends a message via Telegram bot (requires your `chat_id`)
* **Trade (market order)**: executes a buy or sell on Base, Ethereum, or Solana
* **Trade (stop market)**: triggers a trade when a price condition is met
* **Minara AI query**: sends a prompt to Minara and uses the response downstream (e.g. in an email)
* **Code**: runs custom logic generated by Minara (HTML email templates, data transformations, etc.)

## Credits and fees

The **Minara AI Query** node consumes credits each time it runs. All other nodes are free to execute. Trades initiated by workflows incur the same trading fees as manual trades.

If your credit balance runs out, all active workflows pause automatically. Keep sufficient credits to avoid interruptions to automated trading workflows.

For credit details, see [How credits work](broken://pages/FrIxIPxclx8xWkxONGA2).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://minara.ai/docs/workflow/agentic-workflow.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
