Luce AI

Workflow Guide

How to launch, monitor, and chain Luce marketing workflows

Workflows are the core of Luce AI. Each workflow runs a specialized marketing analysis or content generation task as a background job. You launch them with launch_workflow, poll status with get_workflow_status, and read results when they complete.

Lifecycle

Launch

Call launch_workflow(project_id, workflow_type) with optional parameters. Returns a workflow_run_id.

Poll

Call get_workflow_status(workflow_run_id) every 10--15 seconds. Status progresses through: PENDING then RUNNING then COMPLETED or FAILED. While running, the response includes step-by-step progress with a percentage and current step label.

Read results

When status is COMPLETED, the output content is included directly in the get_workflow_status response. For raw data files, use list_files and read_file.

Available Workflows

Research and Onboarding

Workflow TypeDescriptionAuto-runs
onboardingInitial company and product researchYes, on project creation

SEO

Workflow TypeDescriptionPrerequisites
seoFull SEO audit analyzing 60+ on-page metricsonboarding
seo_blog_postsGenerate SEO-optimized blog postsWorks best after seo
seo_content_planningSILO architecture, keyword clusters, 90-day content plan, gap analysis, internal linking strategyseo with keyword augmentation

Reddit

Workflow TypeDescriptionPrerequisites
reddit_scraperFind relevant subreddits for engagementonboarding
reddit_draftingGenerate Reddit post draftsreddit_scraper
reddit_engagementFind Reddit engagement opportunitiesonboarding

Social Media -- X (Twitter)

Workflow TypeDescriptionPrerequisites
x_postsGenerate X/Twitter postsonboarding, founder name
x_analysisAnalyze X/Twitter performanceonboarding, founder name
x_engagementFind X/Twitter engagement opportunitiesonboarding

Social Media -- LinkedIn

Workflow TypeDescriptionPrerequisites
linkedin_postsGenerate LinkedIn postsonboarding, founder name
linkedin_analysisAnalyze LinkedIn performanceonboarding, founder name
linkedin_engagementFind LinkedIn engagement opportunitiesonboarding

Social Media -- Cross-Platform

Workflow TypeDescriptionPrerequisites
social_media_postsGenerate posts across multiple platformsonboarding, founder name
social_media_analysisAnalyze social media performanceonboarding, founder name

GEO (Generative Engine Optimization)

Workflow TypeDescriptionPrerequisites
geo_scannerScan AI search engines for brand visibilityonboarding
geo_directory_listingsFind relevant directories for submissionsonboarding
geo_auto_listingAuto-submit to selected directoriesgeo_directory_listings, selected_platforms param

Strategy and Growth

Workflow TypeDescriptionPrerequisites
strategy_plannerCreate growth strategy with 12-week calendaronboarding
influencer_marketingFind influencers across platformsonboarding

Advertising

Workflow TypeDescriptionPrerequisites
ads_competitor_analysisAnalyze competitor advertisingonboarding
ads_creative_draftingGenerate advertising creativesonboarding

Parameters

Most workflows only require project_id and workflow_type. Some accept additional parameters:

ParameterTypeUsed by
founderstringSocial media workflows (x_posts, linkedin_posts, etc.)
num_draftsintegerContent generation workflows (reddit_drafting, seo_blog_posts)
num_queriesintegergeo_scanner -- number of AI search queries to test
include_newsbooleanSocial media workflows -- include recent news context
reference_urlstringreddit_drafting -- ground content in a specific source URL
personal_anglestringreddit_drafting -- add a personal perspective to drafts
selected_platformslistgeo_auto_listing -- platforms to submit directory listings to
keywordstringtiktok_influencer (legacy)

Dependency Chain

Workflows build on each other. The recommended execution order for a new project:

onboarding (auto-runs)
    |
    +-- strategy_planner
    +-- seo --> seo_blog_posts
    |      \--> seo_content_planning
    +-- reddit_scraper --> reddit_drafting
    |                  \--> reddit_engagement
    +-- geo_scanner --> geo_directory_listings --> geo_auto_listing
    +-- x_posts / linkedin_posts (require founder name)
    +-- influencer_marketing
    +-- ads_competitor_analysis --> ads_creative_drafting

Onboarding must run first

All workflows depend on the onboarding data. For new projects, onboarding runs automatically when you call create_project. Wait for it to complete before launching other workflows.

Example Session

A typical workflow session using MCP tool calls:

1. list_projects
   --> Pick project_id = 5

2. get_project_overview(5)
   --> See completed workflows and recommended next steps

3. launch_workflow(5, "seo")
   --> Returns workflow_run_id = 42

4. get_workflow_status(42)
   --> { status: "RUNNING", progress: { percentage: 35, current_step: "Analyzing backlinks" } }

5. get_workflow_status(42)   (poll again after 10-15s)
   --> { status: "COMPLETED", output: { ... full results ... } }

6. get_seo_dashboard(5)
   --> Structured view of SEO metrics

7. launch_workflow(5, "seo_blog_posts", { num_drafts: 3 })
   --> Chain into content generation

Monitoring Active Workflows

Use list_running_workflows to see all currently executing workflows across your projects. This is useful when you have multiple workflows running in parallel and need to track their progress.

To cancel a workflow that is still running, call cancel_workflow(workflow_run_id).

Credit Costs

Each workflow consumes credits from your account. Use the luce://credit-costs MCP resource to see the current cost table, or call get_account_info to check your remaining balance.