Prompt Details
Model
(gemini-3.8-flash)
Token size
306
Example input
[TRIGGER_EVENT]: Incoming Webhook from Stripe
[SOURCE_TOOL]: Stripe (customer.subscription.created)
[TARGET_TOOLS]: Airtable and Slack
[AUTOMATION_GOAL_AND_LOGIC]: Log subscriber data in Airtable and send a welcome notice in Slack
[COMPLEXITY]: Intermediate with conditional branches
Example output
### 1. Workflow Summary
Listens for Stripe subscription creation events, records subscriber metadata to Airtable, and posts a formatted notification to a private Slack channel.
- Prerequisites: Stripe API Key / Webhook Secret, Airtable Personal Access Token, Slack OAuth Bot Token (chat:write).
### 2. Architecture Diagram (Node Sequence)
[Stripe Trigger]
│
▼
[Edit Fields (Set)] ──► [Airtable: Create Record]
│
▼
[Slack: Send Message]
### 3. Node-by-Node Specification
1. Stripe Trigger (n8n-nodes-base.stripeTrigger)
- Event: customer.subscription.created
2. Edit Fields (Set) (n8n-nodes-base.set)
- Mode: Manual Mapping
- customer_id: {{ $json.data.object.customer }}
- plan_amount: {{ $json.data.object.plan.amount / 100 }}
- status: {{ $json.data.object.status }}
3. Airtable (n8n-nodes-base.airtable)
- Operation: Create
- Base: Customers | Table: Subscriptions
- Map: customer_id, plan_amount, status
4. Slack (n8n-nodes-base.slack)
- Resource: Message | Operation: Post
- Channel: #alerts-sales
- Text: New subscription created for customer {{ $('Edit Fields').item.json.customer_id }} (${{ $('Edit Fields').item.json.plan_amount }}).
### 4. Error Handling & Fallback
- Attach an Error Trigger workflow routed to #dev-ops-alerts if Airtable or Slack API limits fail execution.
### 5. Ready-to-Use Code Snippet
{
"parameters": {
"assignments": {
"assignments": [
{ "name": "customerId", "value": "={{ $json.data.object.customer }}" },
{ "name": "amountUSD", "value": "={{ $json.data.object.plan.amount / 100 }}" }
]
}
},
"type": "n8n-nodes-base.set",
"typeVersion": 3.4,
"name": "Format Data"
}
Get this prompt + 9 more with SelectFrom $14/mo · Cancel anytimeFrom $14/mo · Cancel anytime
View SelectBy purchasing this prompt, you agree to our terms of service
GEMINI-3.8-FLASH
Turn raw automation ideas into fully structured n8n workflow specs without the guesswork. This prompt acts as an expert automation engineer: you provide your trigger, target services, and business logic, and it outputs the exact step-by-step node layout, webhook configurations, data mapping logic, error handling routes, and clean JSON templates ready to copy into n8n.
...more
Added 1 day ago
