Check scheduled Klaviyo campaign offers and links with Claude, Sheets and Slack
Ready for 3.0What this workflow does
This AI workflow has 23 nodes and runs on a schedule (every hour). Along the way it connects Google Sheets, Anthropic Chat Model and Slack.
How it runs
Trigger: On a schedule (every hour).
- Config (Edit Fields (Set)): sets 12 fields: offersSheetUrl, offersTab, checksTab…
- Check Your Settings (Code): runs custom JavaScript code
- Read Offers Sheet (Google Sheets): read (sheet)
- Read Past Checks (Google Sheets): read (sheet)
- List Email Statuses (Code): runs custom JavaScript code
- Get Campaign Emails (HTTP Request): calls an HTTP API (GET)
- Pick Emails to Check (Code): runs custom JavaScript code
- Loop Over Emails (Loop Over Items (Split in Batches)): loops over the items in batches
- Get Email Template (HTTP Request): calls an HTTP API (GET)
- Read Email Content (Code): runs custom JavaScript code
…plus 10 more steps. See the full node list below.
Services it uses
Other Google Sheets + Slack templates (1,314) · Other Anthropic + Google Sheets templates (261) · Other Anthropic + Slack templates (204)
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (11)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - Google Sheets
n8n-nodes-base.googleSheets - HTTP Request
n8n-nodes-base.httpRequest - If
n8n-nodes-base.if - AI Agent
@n8n/n8n-nodes-langchain.agent - Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Slack
n8n-nodes-base.slack - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches
From the author
Quick overview This workflow runs hourly to review upcoming Klaviyo campaign emails, test links and images for errors, extract codes/offers/dates with Anthropic Claude, validate them against a Google Sheets offers list, and post results to Slack while logging…