> ## Documentation Index
> Fetch the complete documentation index at: https://docs.atomicagi.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Workflows

> Build, run, monitor, and schedule repeatable automations for your marketing operations

<Frame>
  <img src="https://mintcdn.com/atomicai/2EwXzkqhhawPmJOp/images/automation/workflows/app-workflows.png?fit=max&auto=format&n=2EwXzkqhhawPmJOp&q=85&s=c44c86592d37a8eb417b1de6be4256b6" alt="Workflows library with workflow cards and run history table" width="1536" height="1024" data-path="images/automation/workflows/app-workflows.png" />
</Frame>

Use Workflows to turn repeated tasks into reliable operations. This page helps you create the workflow, run it, debug it, and schedule it.

## Questions this page should answer

1. Which recurring task should become a workflow first?
2. Are runs completing with useful outputs, not just green status?
3. Where should we fix steps, inputs, or schedule to improve reliability?

## Before you automate

* Start with one repeated task your team already does manually.
* Define the exact output you expect before building.
* Keep version one short and clear.

## What this page gives you

* A workflow library with reusable cards.
* Fast creation from templates or from scratch.
* A full editor for step logic and sequencing.
* Per-workflow run, execution, and history views.
* Schedule controls for recurring runs.

## How to read the workflow library

In the top section:

* Each card is one automation.
* The card title and subtitle tell you the business job.
* `Last` or `Never run` tells you adoption and recency.
* The three-dot action on cards helps with quick maintenance actions.

Use the table below cards as your global operations feed:

* `Status`: run health.
* `AI credits`: cost per run.
* `Inputs`: confirms run context.
* `Started` and `Duration`: speed and timing consistency.

When a run fails, inspect `Inputs` first, then step output.

## Create workflow (template or scratch)

<Frame>
  <img src="https://mintcdn.com/atomicai/2EwXzkqhhawPmJOp/images/automation/workflows/app-workflows-editor-create.png?fit=max&auto=format&n=2EwXzkqhhawPmJOp&q=85&s=c2c03f15570a4124c14530e369c22f2b" alt="Create workflow modal with start from scratch and template options" width="1536" height="1024" data-path="images/automation/workflows/app-workflows-editor-create.png" />
</Frame>

Use `Create workflow` to start from:

* `Start from scratch` for custom logic.
* Templates for common execution patterns.

Template-first is faster for most teams. Start from scratch only when your flow is unique.

## Edit workflow (builder)

<Frame>
  <img src="https://mintcdn.com/atomicai/2EwXzkqhhawPmJOp/images/automation/workflows/app-workflows-editor-edit.png?fit=max&auto=format&n=2EwXzkqhhawPmJOp&q=85&s=445da07b9555dffe7c7f87312d90f253" alt="Workflow editor with visual step graph and step palette" width="1536" height="1024" data-path="images/automation/workflows/app-workflows-editor-edit.png" />
</Frame>

The editor is where you design and refine execution:

* Left panel: available step types.
* Center canvas: step order and flow.
* Right panel: AI assistant and properties.
* Top actions: run test, save, and chat-guided edits.

Keep steps explicit. Each step should do one clear job.

### Content image enrichment workflows

Use content enrichment steps when a draft already exists and needs useful inline visuals:

* `Get content from editor`: fetch the current content, source URL, and metadata for an existing content item.
* `Enrich content images`: add factual visuals to markdown or editor HTML through the existing Prompt LLM workflow path, using generated charts, screenshots, or direct image URLs when they add useful context.
* `Create content version`: save the enriched content as a new active editor version without overwriting older versions.

This pattern works well after `Generate article` or when refreshing older text-only drafts. Keep `target image count` balanced; weak visual opportunities should be skipped instead of forcing filler images.

### Human review steps

<Frame>
  <img src="https://mintcdn.com/atomicai/sUqbW8HMhYgPiP5r/images/automation/workflows/app-workflows-human-review-options.png?fit=max&auto=format&n=sUqbW8HMhYgPiP5r&q=85&s=d02e83ec4b0569235e4516ff257fe5dd" alt="Workflow editor Human review step with output variable and output value settings grouped together" width="768" height="1800" data-path="images/automation/workflows/app-workflows-human-review-options.png" />
</Frame>

Use `Human review` when a workflow should pause for a person to approve a value or choose from generated options.

For list reviews, give the output a clear variable name. When the list is an array of JSON objects, choose the preview field reviewers should see in each row. Full JSON remains available in review details. Keep the full selected object as the downstream output unless the next step only needs one nested value.

### Programmatic page workflows

Programmatic workflow blocks are reusable. You can combine only the steps needed for the job:

* `Detect programmatic page clusters`: find repeated competitor URL patterns.
* `Research page structure from description`: start from a description, research relevant public pages, select example URLs, and return the same reusable page structure outputs as extraction.
* `Extract programmatic page structure`: inspect a `urls` array and return a reusable page generation schema, shared section structure, and full-page screenshot URLs for each analyzed example. Competitor alternative pages include named sections such as hero, trust bar, comparison table, differentiator cards, testimonials, pricing, FAQ, and final CTA.
* `Get Webflow collection structure`: read fields from an existing Webflow CMS collection.
* `Create programmatic collection structure`: create or reuse a Webflow CMS collection from an extracted page structure or existing collection structure.
* `Generate structured page content`: generate one CMS-ready page object from a writing prompt and `pageStructure`. The step researches first when web tools are available, then returns `generated_page`.
* `Publish mapped content`: map workflow values into WordPress or Webflow and publish or save drafts. For Webflow, use `Map fields` to fill fields one by one, or `Paste JSON` to pass the whole `generated_page` object.

Use `Research page structure from description` when you do not already have example URLs. Use `Extract programmatic page structure` when you already know which URLs should define the pattern. Use `Get Webflow collection structure` when you already have a Webflow collection and only need more pages for it.

<Frame>
  <img src="https://mintcdn.com/atomicai/Ja7I9FK-0VBJ4xjV/images/automation/workflows/app-workflows-research-page-structure-sidebar.png?fit=max&auto=format&n=Ja7I9FK-0VBJ4xjV&q=85&s=9686492b0ca52ad36bb7f53e3e8c4816" alt="Workflow editor Programmatic Pages sidebar showing Research page structure from description" width="1280" height="820" data-path="images/automation/workflows/app-workflows-research-page-structure-sidebar.png" />
</Frame>

For Webflow collections, extracted fields use Webflow field types based on content shape. Short scalar copy should stay `PlainText`. Repeated blocks, formatted lists, tables, embeds, and multi-paragraph content should be `RichText` so the generated page can render real rich content instead of delimiter text.

`Generate structured page content` accepts only `prompt` and `pageStructure`. Put the audience, topic, CTA, constraints, and known facts in the prompt. Do not add separate keyword, row, template, or slug fields.

The `Webflow programmatic collection structure` template adds a `Human review` step after cluster detection. Reviewers choose which detected URL set to copy, and the selected cluster's example URLs feed the page structure extraction step.

<Frame>
  <img src="https://mintcdn.com/atomicai/sUqbW8HMhYgPiP5r/images/automation/workflows/app-workflows-programmatic-page-blueprint.jpg?fit=max&auto=format&n=sUqbW8HMhYgPiP5r&q=85&s=5e4e3c5ad013a0e05d25a1e86ee411c1" alt="Workflow output showing the programmatic page blueprint with page setup fields and section cards" width="1280" height="720" data-path="images/automation/workflows/app-workflows-programmatic-page-blueprint.jpg" />
</Frame>

`Create programmatic collection structure` also returns a Webflow wireframe image. Use `wireframeImageUrl` or `wireframeMarkdown` to review the intended Collection Page layout, including visible hero/body bindings and SEO metadata fields that should be configured in Webflow page settings instead of placed as text blocks on the canvas.

<Frame>
  <img src="https://mintcdn.com/atomicai/sUqbW8HMhYgPiP5r/images/automation/workflows/app-workflows-publish-mapped-json.png?fit=max&auto=format&n=sUqbW8HMhYgPiP5r&q=85&s=fbefc95e0e874e515466bdbfe610cd1e" alt="Workflow editor Publish mapped content step with Paste JSON mapping mode selected" width="1536" height="1024" data-path="images/automation/workflows/app-workflows-publish-mapped-json.png" />
</Frame>

When a generated page already matches the Webflow collection fields, select `Paste JSON` and use `{{generateStructuredPageContent.generated_page}}`.

## Workflow run tab (inputs and output)

<Frame>
  <img src="https://mintcdn.com/atomicai/2EwXzkqhhawPmJOp/images/automation/workflows/app-workflows-detail-run.png?fit=max&auto=format&n=2EwXzkqhhawPmJOp&q=85&s=71b221ca2b76f69c3a732e636321026c" alt="Workflow detail Run tab showing inputs and output panel" width="1536" height="1024" data-path="images/automation/workflows/app-workflows-detail-run.png" />
</Frame>

This is the control panel for a specific workflow:

* Set run inputs (for example, `Current Date`).
* Confirm brand context before run.
* Click `Run workflow` to execute.
* Read final output in the right panel.

Use this view when you need a clean rerun with controlled inputs.

## Execution tab (live step progress)

<Frame>
  <img src="https://mintcdn.com/atomicai/2EwXzkqhhawPmJOp/images/automation/workflows/app-workflows-detail-run-triggered.png?fit=max&auto=format&n=2EwXzkqhhawPmJOp&q=85&s=820217169bbbaff13b6012c1a66cf26b" alt="Workflow detail Execution tab showing live step progress" width="1536" height="1024" data-path="images/automation/workflows/app-workflows-detail-run-triggered.png" />
</Frame>

Execution helps you debug in real time:

* Left side shows each step and status.
* Right side shows details for the selected step.
* Running steps reveal where time is spent.
* Click `Cancel run` to stop the selected active run without canceling the workflow itself.

Use this tab to find bottlenecks, stalled steps, or weak step prompts.

## Run progress state

<Frame>
  <img src="https://mintcdn.com/atomicai/2EwXzkqhhawPmJOp/images/automation/workflows/app-workflows-detail-execution.png?fit=max&auto=format&n=2EwXzkqhhawPmJOp&q=85&s=6b424fbde139221923c3398ab0acb43b" alt="Workflow detail showing a step currently running" width="1536" height="1024" data-path="images/automation/workflows/app-workflows-detail-execution.png" />
</Frame>

During a live run, watch for:

* Step stuck in running too long.
* Empty or partial step output.
* Unexpected transitions between steps.

If one step repeatedly slows or fails, simplify that step before scaling schedule.

## Workflow history tab (single workflow)

<Frame>
  <img src="https://mintcdn.com/atomicai/2EwXzkqhhawPmJOp/images/automation/workflows/app-workflows-detail-history.png?fit=max&auto=format&n=2EwXzkqhhawPmJOp&q=85&s=9b6470984d711e1e04131d6cfbadbc57" alt="Workflow detail History tab with run status and AI credit usage" width="1536" height="1024" data-path="images/automation/workflows/app-workflows-detail-history.png" />
</Frame>

Use this tab to review reliability over time for one workflow:

* Compare run outcomes.
* Confirm stopped runs show `canceled`.
* Track AI credit trend.
* Validate cadence against business needs.
* Re-open older runs for QA checks.

This is the best view for per-workflow quality review.

## Schedule a workflow (command action)

<Frame>
  <img src="https://mintcdn.com/atomicai/2EwXzkqhhawPmJOp/images/automation/workflows/app-workflows-command-menu-schedule.png?fit=max&auto=format&n=2EwXzkqhhawPmJOp&q=85&s=a77cce56c189d3e1b1f9c31872a05f2b" alt="Schedule workflow dialog opened from workflow detail actions" width="1536" height="1024" data-path="images/automation/workflows/app-workflows-command-menu-schedule.png" />
</Frame>

From workflow detail actions, open `Schedule workflow` and define cadence:

* Daily
* Weekly
* Bi-weekly
* Monthly
* Inactive

Set schedule only after the workflow is stable in manual runs.

## What to automate first

Start with tasks that are frequent and rules-based:

* Daily or weekly priorities for SEO and content.
* Content refresh candidate detection.
* Alerting for major movement or failures.
* Structured summaries for stakeholders.

Keep one-off strategy prompts in New chat.

## What to fix first

If runs are unstable, fix in this order:

1. Inputs (wrong or missing context)
2. Step prompt clarity
3. Step order and dependencies
4. Schedule frequency

Most failures come from bad inputs or vague step instructions.

<div className="atomic-info-callout">
  <p>
    <strong>Important:</strong> Completed status does not guarantee a useful
    output. Always review output quality before scheduling at scale.
  </p>
</div>

## Weekly workflow checklist

1. Review failed runs.
2. Check output quality for completed runs.
3. Improve one weak step in the top-used workflow.
4. Remove duplicate workflows and keep one source of truth.
5. Reconfirm schedule only for proven workflows.

## Keep in mind

* Small reliable workflows beat large fragile workflows.
* Naming matters for discoverability and adoption.
* A successful status does not always mean useful output.
* Schedule is an operations tool, not a quality fix.

## Where to go next

* [Agents](/automation/agents/overview): assign the right specialist to each step
* [Schedule](/automation/schedule/overview): run workflows automatically
* [New chat](/automation/new-chat/overview): prototype tasks before turning them into workflows
