2 ready-to-build workflows

AI agent workflows for Advertising & marketing agencies

Automate ad-spend decisions, lead follow-up and reporting across Google/Meta Ads.

Each recipe below is expressed only in VegaDūta's real workflow building blocks — Trigger, Agent, Knowledge, Condition, Approval, Output, Tool (MCP), Voice, Device, Loop, Code and Parallel — so it maps 1:1 to something you can assemble in the Workflow designer. Consequential actions always pass a human Approval step.

1. Auto-optimize ad spend with a human guardrail

Your Google Ads / Meta Ads campaigns drift: cost-per-acquisition creeps above target overnight and nobody catches it until the daily standup.

Trigger: Webhook (scheduled Ads report, or Ads API push via Zapier/Make)

How the workflow runs

  1. Trigger

    Ad platform posts performance. A Webhook trigger receives the daily spend/CPA/ROAS payload for each campaign. Google/Meta Ads have no first-party connector — you feed them in via Webhook (or a Tool/MCP node that calls their API).

  2. Agent

    Analyst agent evaluates each campaign. An Agent node compares CPA/ROAS against the target you set in its system prompt, and drafts a recommendation (pause, cut budget 20%, or scale winners).

  3. Condition

    Only act when it's material. A Condition node branches: if CPA is within tolerance, log and stop; if it breaches the threshold, continue to the change path.

  4. Approval

    Media buyer signs off. An Approval node pauses the run and sends the proposed budget change to a human — nothing touches live spend without a click. This is the core guardrail.

  5. Tool (MCP)

    Apply the change. On approval, a Tool (MCP) node calls the Ads API to pause/adjust the campaign; without a connector, it posts the instruction to your ops queue instead.

  6. Output

    Report to the team. An Output node posts a summary to Slack/Email — what changed, why, and the projected saving.

Channels & connectors

  • Webhook
  • Tool (MCP)
  • Slack
  • Email
  • Approval / HITL

Outcome

Runaway campaigns get caught within the hour instead of the next morning, and every budget change is human-approved and logged.

Why it helps

Turns an overnight blind spot into a same-hour, reviewed decision — the value is speed of detection plus an audit trail, not a hands-off spend bot.

Build spec

1 agent1 analyst agent. The Condition, Approval and Tool nodes are workflow steps, not extra agents.

System prompt (paste-ready)

You are a paid-media performance analyst. For each campaign row you receive (name, spend, CPA, ROAS, conversions), compare against the target CPA of ₹{{target_cpa}} and target ROAS of {{target_roas}}. Recommend exactly ONE action: KEEP, CUT_BUDGET_20, PAUSE, or SCALE_15. Reply as strict JSON {campaign, action, reason}. Never propose a single-step budget change larger than 20%. If data is missing, return action=KEEP with reason='insufficient data'.

MCP connectors

  • Google/Meta Ads — via a Tool (MCP) node (no first-party connector)
  • Slack (MCP) for the summary

Built-in tools

  • http_request (pull campaign detail)
  • knowledge_search (target-threshold doc)

Guardrails

  • Hard cap: no budget change >20% — stated in the prompt AND re-checked at the Condition node
  • No live spend touched without the Approval node (human media buyer clicks)
  • Scope-locked to campaigns in the payload — the MCP tool can't read other accounts

Output & delivery

Agent emits per-campaign JSON → Condition routes only material breaches → on Approval, a Tool node applies the change via the Ads MCP → Output posts a plain-English summary to Slack and stores the JSON for audit.

2. Instant WhatsApp follow-up on every ad lead

Leads from your Google/Meta lead forms sit in a spreadsheet for hours. Speed-to-lead is everything, and you're losing the ones a competitor calls first.

Trigger: Webhook (lead-form submission)

How the workflow runs

  1. Trigger

    New lead arrives. A Webhook trigger fires the moment the ad's lead form is submitted.

  2. Agent

    Qualify + personalize. An Agent node reads the lead's answers and drafts a personalized opener referencing what they asked for.

  3. Knowledge

    Pull the right offer. A Knowledge node grounds the reply in your current pricing/offer docs so nothing is invented.

  4. Output

    WhatsApp within seconds. An Output node sends the message on WhatsApp and offers a booking link.

Channels & connectors

  • Webhook
  • Knowledge base
  • WhatsApp

Outcome

Every lead gets a relevant WhatsApp reply within seconds of submitting the form, 24/7.

Why it helps

Speed-to-lead is the single biggest driver of conversion on paid traffic; replying instantly beats a callback hours later.

Build spec

1 agent1 qualifier/writer agent; the Knowledge grounding and WhatsApp send are workflow steps.

System prompt (paste-ready)

You are a lead-response agent for {{company}}. A new ad lead just submitted a form with fields {name, phone, interest, campaign}. Write ONE short, warm WhatsApp opener that references exactly what they asked about and offers a booking link. Ground every offer/price detail in the Knowledge base — never invent a discount, price, or availability. Keep it under 3 sentences, in the lead's language, and end with a single clear next step.

MCP connectors

  • WhatsApp — send channel
  • Lead-form source (Google/Meta) — inbound via Webhook trigger

Built-in tools

  • knowledge_search (current pricing/offer docs)

Guardrails

  • Grounded offers only — prices/discounts must come from Knowledge, never invented
  • One opener per lead — no repeated messaging on the same form submission
  • No commitments the business can't honour (stock, delivery dates) unless present in Knowledge

Output & delivery

The agent's grounded opener is sent on WhatsApp within seconds of the form submission, with a one-tap booking link appended.

Related industries

Build one of these in minutes

The sandbox gives you a live agent workspace — no account, no card. Or head back to the full catalogue and compare patterns across every industry.

See how VegaDūta compares to n8n, Dify and BotpressWhy VegaDūta's architectureEstimate your WhatsApp API costs