Agent Examples
Ready-to-use agent recipes for the most common content and marketing workflows. Each example lists the exact steps to add, how to configure them, and what you’ll get out.Example 1 — Blog Article Pipeline
What it does: Takes a topic, researches keywords and related questions, generates a content brief, and writes a full draft article. Steps:-
DataForSEO — keyword research
- Keyword:
{{topic}} - Limit: 25
- Keyword:
-
People Also Search For — find related angles
- Query:
{{topic}}
- Query:
-
Get Title Suggestions — decide the best angle
- Topic:
{{topic}} - Count: 10
- Tone: informational
- Topic:
-
Content Brief — structure the article
- Topic:
{{topic}} - Tone: informational
- Topic:
-
Draft Article — write it
- Brief:
{{step_4.output}} - Word count: 2000
- Tone: informational
- Brief:
Topic
Output: A 2,000-word article draft in Markdown, ready for editing and publishing.
Example 2 — AI Search Optimisation Article
What it does: Researches what AI assistants currently say about a topic using Perplexity, then writes a long-form article structured to win AI search answers. Steps:-
Perplexity Search — see what AI currently says
- Prompt:
What do people want to know about {{topic}}? What are the key questions and answers? - Model: Sonar Pro
- Prompt:
-
Google SERP Results — see who ranks today
- Query:
{{topic}} - Results: 10
- Query:
-
Content Brief — structure for AI search
- Topic:
Create a content brief for an article about {{topic}} optimised to rank in AI search engines like ChatGPT, Perplexity, and Google AI Overviews. Base the structure on this research: {{step_1.output}}
- Topic:
-
Generate Article — write the full piece
- Brief:
{{step_3.output}} - Word count: 2500
- AI Model: GPT-4o
- Brief:
Topic
Output: A long-form article built around the questions and answers that AI assistants surface for your topic.
Example 3 — Competitor Page Analysis
What it does: Crawls a competitor’s page, summarises their content angle, and suggests how you could write a better version. Steps:-
Get Web Content — crawl their page
- Page URL:
{{competitor_url}} - Extract main content: Yes
- Page URL:
-
Prompt LLM — analyse it
- Prompt:
Analyse this competitor article and identify: (1) their main angle and argument, (2) gaps and topics they missed, (3) weaknesses in their coverage. Article: {{step_1.output}} - Model: GPT-4o Mini
- Prompt:
-
Content Brief — write a better brief
- Topic:
Write a content brief for an article on the same topic as this competitor article that is significantly better. Competitor analysis: {{step_2.output}}
- Topic:
-
Draft Article
- Brief:
{{step_3.output}} - Word count: 2000
- Brief:
Competitor URL
Output: An analysis of the competitor’s content and a draft article that improves on it.
Example 4 — Weekly SEO Report to Slack
What it does: Pulls your GSC keyword rankings and GA4 traffic data, summarises the highlights, and sends the summary to a Slack channel every week. Steps:-
Get GSC Rankings — pull keyword positions
- Brand: (select your GSC connection)
- Date range: 7 days
-
Get GA4 Data — pull traffic metrics
- Brand: (select your GA4 connection)
- Date range: 7 days
-
Prompt LLM — write the summary
- Prompt:
You are a marketing analyst. Write a concise weekly SEO performance summary (max 300 words) suitable for a Slack message. Cover: top performing pages, notable keyword movements, AI referral traffic trends. Data: GSC rankings: {{step_1.output}} GA4 traffic: {{step_2.output}} - Model: GPT-4o Mini
- Prompt:
-
Slack Notify — send it
- Message:
{{step_3.output}} - Brand: (select your Slack connection)
- Message:
Example 5 — Content to CMS Pipeline
What it does: Generates a finished article and publishes it as a draft directly to your Sanity CMS. Steps:-
Content Brief
- Topic:
{{topic}} - Target audience:
{{audience}} - Tone: conversational
- Topic:
-
Generate Article
- Brief:
{{step_1.output}} - Word count: 1500
- AI Model: GPT-4o
- Brief:
-
Wait for Approval — human review before publishing
- Instructions:
Review this article draft before it goes to Sanity. The topic is {{topic}}. - Attach:
{{step_2.output}} - Timeout: 48 hours
- Instructions:
-
Sanity Write — publish to CMS
- Content:
{{step_2.output}} - Document type: post
- Title: (AI will infer from the article)
- Content:
Topic, Audience
Output: A published draft in Sanity, with a human approval gate before it lands in the CMS.
Example 6 — Knowledge Base Builder
What it does: Crawls a URL, extracts the content, and saves it to your knowledge base so future agents can reference it. Steps:-
Get Web Content
- Page URL:
{{url}} - Extract main content: Yes
- Page URL:
-
Prompt LLM — clean and summarise
- Prompt:
Summarise this page into a concise, well-structured reference document. Include key facts, claims, and data points. Source: {{step_1.output}} - Model: GPT-4o Mini
- Prompt:
-
Upload to Knowledge Base
- Content:
{{step_2.output}} - Knowledge base: (select your knowledge base)
- Content:
URL
Output: The page’s content is stored in your knowledge base and available to all future agents.
Tips for building your own
- Chain outputs. The most powerful agents pass one step’s output into the next. Use
{{step_N.output}}in your prompts and configurations. - Start with research, end with content. A good pattern: research steps first (SERP, Perplexity, DataForSEO), then a brief step, then the article step.
- Use Agentic Mode for exploration. When you’re not sure of the right steps, use Agentic Mode and let the AI figure out the path.
- Add approval gates for anything customer-facing. Always put a Wait for Approval step before Slack notifications to customers or CMS publishes.
