# Track AI search citations with OpenAI and Claude: n8n workflow

> Started by a clock, and works across Notion and Slack. It hands the judgement calls to Gemini and OpenAI.

Source: https://millionrounds.com/workflow/track-ai-search-citations-with-openai-and-claude (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Data collection](https://millionrounds.com/workflows?category=Data+collection#library)

# Track AI search citations with OpenAI and Claude

Started by a clock, and works across Notion and Slack. It hands the judgement calls to Gemini and OpenAI. 16 steps, 1 branch, 1 loop or waits: a working afternoon to understand properly.

Medium Calls a model: Gemini, OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Ftrack-ai-search-citations-with-openai-and-claude)

**16 steps** Medium: a working afternoon

**1** Branch: places the flow splits

**1** Loop or waits

**2** Services it connects to

## The flow

Starts it 2 Model 3 Logic 7 Service 4

The steps in the order they run, from what starts it.

- 1 **Manual Trigger** Manual trigger *Starts it*
- 2 **Weekly Monday 9AM** Schedule trigger *Starts it*
- 3 **Configuration** Code *Logic*
- 4 **Prepare AEO Prompts** Code *Logic*
- 5 **Loop Prompts** Split In Batches *Logic*
- 6 **ChatGPT Response** Open Ai *Model*
- 7 **Claude Response** Anthropic *Model*
- 8 **Gemini Response** Google Gemini *Model*
- 9 **Perplexity Response** Http Request *Service*
- 10 **Merge AI Responses** Merge *Logic*
- 11 **Analyze Citations** Code *Logic*
- 12 **Z.ai GLM Recommendations** Http Request *Service*
- 13 **Store Citation Data** Notion *Service*
- 14 **Citation Dropped?** If *Logic*
- 15 **Alert Citation Drop** Slack *Service*
- 16 **Loop Continue** Code *Logic*

## How it's built

- **Starts on:** A clock
- **Steps:** 16, with 1 branch, 1 loop or waits
- **Size:** Medium: a working afternoon
- **Connects to:** Notion, Slack
- **Model:** Gemini, OpenAI

## Questions

What does it need to run?

An n8n account, plus your own Notion and Slack accounts, and a key for Gemini and OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on a clock.

Does it use AI?

Yes. It calls Gemini and OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 16 steps is enough that you should read each one before running it.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 16 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Ftrack-ai-search-citations-with-openai-and-claude)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Notion](https://millionrounds.com/workflows?service=Notion#library)[Slack](https://millionrounds.com/workflows?service=Slack#library)

## Workflows like it

Also data collection, with the same services where possible, closest in size first.

- [**AI book search & classification for Notion reading list with OpenAI** 16 steps · calls a model · Notion](https://millionrounds.com/workflow/ai-notion-with-openai)
- [**Client nurture & testimonial auto-pilot for Gumroad** 16 steps · Email, Notion](https://millionrounds.com/workflow/client-nurture-and-testimonial-auto-pilot-for-gumroad)
- [**Track employee overtime limits with Google Sheets and Slack** 16 steps · Google Sheets, Slack](https://millionrounds.com/workflow/track-employee-overtime-limits-with-google-sheets-and-slack)
- [**Trading journal & performance tracker with Airtable and Gmail** 16 steps · Airtable, Gmail](https://millionrounds.com/workflow/trading-journal-and-performance-tracker-with-airtable-and-gm)
- [**Analyze brand mentions on Reddit with Notion** 15 steps · calls a model · Notion, Reddit](https://millionrounds.com/workflow/analyze-brand-mentions-on-reddit-with-notion)
- [**Automate job applications with Gemini and Notion** 15 steps · calls a model · Google Drive, Notion](https://millionrounds.com/workflow/automate-job-applications-with-gemini-and-notion)
