Automate Drive-To-Store Lead Generation System (with coupon) on SuiteCRM
Configured with Form Trigger, Google Sheets, HTTP Request, Respond To Webhook, and additional nodes. Review the connections and setup before adapting this template.
Node categories in this workflow
- Web / API
- Trigger
- Data store
- Transform
- Routing
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 |
|---|---|---|---|
| Token SuiteCRM | Web / API | HTTP Request | See node parameters |
| Create Lead SuiteCRM | Web / API | HTTP Request | POST |
| Webhook | Trigger | Webhook | See node parameters |
| On form submission | Trigger | Form Trigger | See node parameters |
| Duplicate Lead? | Data store | Google Sheets | See node parameters |
| Form Fields | Transform | Edit Fields | See node parameters |
| Get Coupon | Data store | Google Sheets | See node parameters |
| Respond OK | Web / API | Respond To Webhook | See node parameters |
| Respond KO | Web / API | Respond To Webhook | See node parameters |
| Is Duplicate? | Routing | If | See node parameters |
| Update Lead | Data store | Google Sheets | update |
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
googleSheetsOAuth2Api
Workflow notes
STEP 1
STEP 1
Create a Google Sheet like this (Fill only the column "COUPON")
[]
This is the basic Google Sheet used in this Workflow:
STEP 2 - MAIN FLOW
STEP 2 - MAIN FLOW
This workflow is ideal for businesses looking to automate lead generation and management, especially when integrating with CRM systems like SuiteCRM and using Google Sheets for data tracking.
If you use an external form, hook the webbook trigger and the two webhooks "Respond KO" and "Respond OK" to the workflow.
It works with SuiteCRM 7.14.x and 8.x version. Remeber to create a Lead custom fields called 'coupon' on SuiteCRM.
Sticky Note2
Check if the lead has already received the coupon
Sticky Note3
Find the first available unassigned coupon
Sticky Note4
Enter the lead with the relative coupon on Suite CRM. Change SUITECRMURL, CLIENTSECRET and CLIENTID
To create the CLIENTSECRET and CLIEDID go to Admin -> Oauth2 Client and Token -> and click on "New CLient Credentials Client"
For the full tutorial step-by-step here the official SuiteCRM Docs
Automate Drive-To-Store Lead Generation System (with coupon) on SuiteCRM
Automate Drive-To-Store Lead Generation System (with coupon) on SuiteCRM
Purpose and structure
This folder contains the Automate Drive-To-Store Lead Generation System (with coupon) on SuiteCRM workflow. Its executable nodes use formTrigger, googleSheets, httpRequest, if, respondToWebhook, 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
Webhook, On form submission
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/Webhook/0722_Webhook_Respondtowebhook_Automate_Webhook.json MIT; preserve source notices.