Block 1 - Wait until product get deliver
- Type / Role
- n8n-nodes-base.wait - wait
- Config choices
- Version 1.1
How it works This workflow automates customer communication after an order is placed. It detects new orders, sends a confirmation email, waits until delivery is completed, and then follows up with ...
n8n-nodes-base.wait, n8n-nodes-base.gmail, n8n-nodes-base.scheduletrigger, n8n-nodes-base.postgres, n8n-nodes-base.stickynote, n8n-nodes-base.code, n8n-nodes-base.if, @n8n/n8n-nodes-langchain.openai
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Avkash Kakdiya.
Original n8n.io sourceThis workflow automates customer communication after an order is placed. It detects new orders, sends a confirmation email, waits until delivery is completed, and then follows up with AI-generated product tips. Finally, it sends AI-powered upsell recommendations after a defined delay. The workflow runs on a schedule and requires no manual handling.
Step 1 — Order detection and confirmation
Schedule Trigger – Runs at a fixed interval to check for new orders.
Postgres – Execute a SQL query – Fetches recently created orders from the database.
Gmail – Send message – Sends an order confirmation email to the customer.
Step 2 — Delivery status monitoring
Wait – Pauses the workflow until the expected delivery window.
Postgres – Select rows – Checks the delivery status of the order.
If – Verifies whether the product is marked as delivered.
Wait – Delays one day and repeats the check if delivery is not completed.
Step 3 — Product usage tips (AI)
OpenAI – Message a model – Generates short and practical usage tips for the product.
Code – Formats the AI output into clean HTML bullet points.
Gmail – Send message – Emails the usage tips to the customer.
Step 4 — Upsell recommendations (AI)
Wait – Delays for two weeks after tips are sent.
OpenAI – Message a model – Creates complementary product recommendations.
Code – Formats the recommendations for email delivery.
Gmail – Send message – Sends the upsell email to the customer.
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
| Workflow | Send post-purchase email sequences with Postgres, Gmail and OpenAI |
|---|---|
| Complexity | advanced |
| Nodes | 19 |
| Categories | Lead Nurturing, AI Summarization |
| Author | Avkash Kakdiya |
| Published | 10 Feb 2026 |
Use the JSON export at /data/workflows/13274/13274.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
How it works This workflow automates customer communication after an order is placed. It detects new orders, sends a confirmation email, waits until delivery is completed, and then follows up with ...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Lead Nurturing, AI Summarization use case.