New order is sent to the Webhook via POST with params {orderID, orderPrice}
Configured with Airtable, Gmail, Html, Schedule Trigger, and additional nodes. Review the connections and setup before adapting this template.
Node categories in this workflow
- Trigger
- Data store
- Code
- Transform
- Messaging
Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.
Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.
How it works
The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.
| Node | Category | Type | Operation |
|---|---|---|---|
| Everyday at 7PM | Trigger | Schedule Trigger | See node parameters |
| Airtable Get Today's Orders | Data store | Airtable | search |
| Yesterday Date | Code | Code | See node parameters |
| HTML | Transform | Html | See node parameters |
| Set Order Fields | Transform | Edit Fields | See node parameters |
| Send to Gmail | Messaging | Gmail | See node parameters |
| Store Order | Data store | Airtable | create |
| Webhook | Trigger | Webhook | See node parameters |
Setup
- Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
- Connect your own credentials through n8n’s credential store. Replace
REPLACE_WITH_*values with your resource identifiers. - Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
- Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.
Requirements
An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.
Credential types declared in the source
airtableTokenApigmailOAuth2
Workflow notes
Aggregate Daily Orders with Airtable
Aggregate Daily Orders with Airtable
This workflow will collect order data as it is produced, then send a summary email of all orders at the end of every day, formatted in a table.
Setup:
- Create a new table in Airtable and give it a field time with type date, orderID with type number, and orderPrice also with type number.
- Create a new access token if you haven't already at https://airtable.com/create/tokens/new. Make sure to give the token the scopes data.records:read, data.records:write, schema.bases:read and access to whichever table you choose to store the orders. A pop-up window appears with the token. Use this token to make
Create New Credential>Access Tokenfor Airtable in theStore OrderandAirtable Get Today's Ordersnodes. - Create access credentials for your Gmail as described here: https://developers.google.com/workspace/guides/create-credentials. Use the credentials from your client_secret.json in the
Send to Gmailnode. - In the
Store Ordernode, change Base and Table to the database and table in your Airtable account you wish to use to store orders. Make sure to use these same values in theAirtable Get Today's Ordersnode. - Every time an order is created in your system, send a POST request to Webhook from your order software. Each request must contain a single order containing fields 'orderID' and 'orderPrice' (or, edit
Set Order Fieldsto select which incoming fields you wish to save) - Change the schedule time for sending email from
Everyday at 7PMto whichever time you choose.
Test:
- Activate the workflow.
- From the node
Webhook, copy Production URL - Send the following CURL request to the URL given to you:
curl -X POST -H "Content-Type: application/json" -d '{"orderID": 12345, "orderPrice": 99.99}' YOUR_URL_HERE - It should say Node executed successfully. Now check your Airtable and confirm the order was stored in the right place.
Sticky Note4
- New Order!
Sticky Note5
- It's 7PM!
New order is sent to the Webhook via POST with params {orderID, orderPrice}
New order is sent to the Webhook via POST with params {orderID, orderPrice}
Purpose and structure
This folder contains the New order is sent to the Webhook via POST with params {orderID, orderPrice} workflow. Its executable nodes use airtable, code, gmail, html, scheduleTrigger, set, webhook. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.
Setup
Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.
Entry points
Everyday at 7PM, Webhook
Verification
Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.
Attribution
https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Code/0571_Code_Webhook_Send_Webhook.json MIT; preserve source notices.
Canvas section labels
These name areas of the original canvas; they do not include explanatory instructions.
- New order is sent to the Webhook via POST with params {orderID, orderPrice}
- Daily summary sent to email at 7PM