Turn a recipe into a scheduled n8n workflow

n8n

Advanced · scheduled or headlessRevOps

Who it's for

RevOps people who have a chat recipe that works by hand, like the weekly pipeline digest, and want it to run on a schedule without anyone opening a chat. n8n can be swapped for Zapier or Pipedream, though the build steps differ.

What you get

Workflow plan, validation result and a pin-data test, before publishing. Sample output: every company and person in it is fictional.

Workflow (created, not published): Weekly pipeline digest

1. Schedule trigger: Mondays 7:00 am
2. CRM node: read open deals (stage, amount, close date, owner, last activity)
3. Code node: group by stage, flag no activity in 14+ days and close dates in the next 30 days
4. Slack node: post the summary to #pipeline-test

Credentials: uses 'CRM - RevOps read only' and 'Slack - digest bot', both set up in n8n by you. No keys were shared in this chat.

Validate: passed, 0 errors, 1 warning (Slack channel is a test channel).

Test run with pinned sample data (6 fictional deals):
Pipeline digest, week of Oct 13 (baseline week: no comparison yet)
Open: 6 deals, $142K
- Mossgate Labs (fictional), $31K, no activity in 18 days (owner: Priya Raman)
- Fernhill Software (fictional), $22K, closes Oct 30 (owner: Alex Rivera)

Next: switch the channel to #pipeline and publish. Reply 'approve publish' when ready.

Time and cost

Estimate About 30–60 minutes for the first build, most of it testing.

Assumptions: One build session for a two-system weekly digest, with two test runs. Weekly runs after that happen inside n8n, outside the chat.

Exact credit costs depend on your plan with each vendor. Check the tool pages before a large run.

MCP servers

Every server is confirmed in: ClaudeChatGPTClaude CodeCursor

Set up in a chat app

Every server in this recipe is confirmed for Claude and ChatGPT. Connect each one, then paste the prompts below into one conversation.

Developer setup

Auth setup and mcp.json for Claude Code and Cursor
  • n8n: Sign in with OAuth, or pass an API key as a Bearer token for headless use.

Put this in .mcp.json (Claude Code, project root) or ~/.cursor/mcp.json (Cursor). Swap the example keys for your own, and don't commit real ones. Remove the // comment lines if your client requires strict JSON.

{
  "mcpServers": {
    "n8n": {
      "url": "None"
      // headless alternative: "headers": { "Authorization": "Bearer YOUR_N8N_API_KEY" }
    }
  }
}

Step-by-step prompts

  1. Read n8n's workflow SDK reference, then search n8n's nodes for a schedule trigger, my CRM ({crm}) and Slack. Turn this recipe into a workflow plan, one line per node: {paste the recipe steps}. Run it {schedule, e.g. Mondays at 7am}. Show me the plan and don't create anything yet.
  2. List my n8n credentials and tell me which ones match {crm} and Slack by name. If one is missing, stop and tell me to set it up in n8n. Don't ask me for any keys.
  3. Write the workflow code for the plan with the Slack node posting to {test channel}, and validate it. Show me any errors and fix them. Create the workflow in n8n only after I approve the validated code.
  4. After I approve it, run a test with pinned sample data: about six fictional deals with the same field names my CRM uses. Show me the exact Slack message it produced.
  5. After I approve, update the Slack node to {real channel}, show me the diff against the tested version, and publish the workflow only after I approve it.

Run it on a schedule (optional)

Where this goes wrong

Gotchas

Download

Get the prompts, guardrails and expected output as one Markdown file. Paste it into a Claude Project or ChatGPT project's instructions, or save it as CLAUDE.md for Claude Code.

Download recipe-to-n8n-workflow.md