Plan a city sales week with Apify, OpenAI, Slack and Google Sheets
Ready for 3.0What this workflow does
This AI workflow has 16 nodes and runs when someone submits an n8n form (“Plan a sales week in a city”). Along the way it connects OpenAI Chat Model, Slack and Google Sheets. It also calls api.apify.com over HTTP.
How it runs
Trigger: When someone submits an n8n form (“Plan a sales week in a city”).
- Set your values (Edit Fields (Set)): sets 13 fields: city, dateFrom, dateTo…
- Get hiring at target accounts (HTTP Request): calls api.apify.com (POST)
- Summarize hiring per account (Code): runs custom JavaScript code
- Describe the failure (Edit Fields (Set)): sets 1 field: slackText
- Anyone hiring there? (If): checks a condition and branches into true / false
- Post the brief (Slack): post (message)
- Get events in the city (HTTP Request): calls api.apify.com (POST)
- Explain the empty result (Edit Fields (Set)): sets 1 field: slackText
- Match events to accounts (Code): runs custom JavaScript code
- Rank accounts and pick events (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI Chat Model; output parser: Ranking format
…plus 3 more steps. See the full node list below.
Services it uses
Other OpenAI + Google Sheets templates (2,011) · Other Google Sheets + Slack templates (1,314) · Other OpenAI + Slack templates (979)
HTTP calls to: api.apify.com
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)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Slack
n8n-nodes-base.slack - Split Out
n8n-nodes-base.splitOut - Google Sheets
n8n-nodes-base.googleSheets
From the author
Quick overview This workflow collects your city-trip details via an n8n form, uses Apify to find relevant job openings and Luma events for your target accounts, then has OpenAI rank accounts and suggest event meetups, posting a brief to Slack and logging…