Skip to main content
Flows are reusable data pipelines you build visually in the dashboard, then execute via API or UI. Perfect for recurring enrichment tasks.

1. Create a flow from a template

  1. Go to dashboard.rastro.ai/flows
  2. Click Templates
  3. Select Competitor Pricing (or another template)
  4. Upload your CSV
  5. Click Run
That’s it — your flow will process each row and enrich it with the configured data.

2. Execute via API

Once you have a flow, you can trigger it programmatically. Get your Flow ID from the URL: dashboard.rastro.ai/flows/{FLOW_ID}/edit
import requests

FLOW_ID = "your-flow-id"

response = requests.post(
    f"https://catalogapi.rastro.ai/api/public/workflows/{FLOW_ID}/execute",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
    json={
        "input": [
            {"sku": "A1", "title": "Product A"},
            {"sku": "A2", "title": "Product B"}
        ]
    }
)
print(response.json())
Response:
{
  "workflow_run_id": "run_abc123",
  "status": "running"
}

3. Check status and get results

response = requests.get(
    "https://catalogapi.rastro.ai/api/public/workflows/runs/run_abc123",
    headers={"Authorization": "Bearer YOUR_API_KEY"}
)
print(response.json())
Response (completed):
{
  "status": "completed",
  "results": {
    "data": [
      {"sku": "A1", "title": "Product A", "enriched_field": "..."},
      {"sku": "A2", "title": "Product B", "enriched_field": "..."}
    ]
  }
}

Flows vs Enrich API

FeatureEnrich APIFlows
SetupNoneBuild in dashboard
Best forOne-off enrichmentRecurring pipelines
CustomizationPrompt + schemaFull visual editor
ProcessingSync or asyncAsync with status polling

What’s Next