← All N8N workflows
Data & databasesForm TriggerGoogle SheetsHTTP RequestIfRespond To Webhook

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.

Workflow preview
Web / APIToken SuiteCRMHTTP RequestWeb / APICreate Lead SuiteCRMHTTP RequestTriggerWebhookWebhookTriggerOn form submissionForm TriggerData storeDuplicate Lead?Google SheetsTransformForm FieldsEdit FieldsData storeGet CouponGoogle SheetsWeb / APIRespond OKRespond To WebhookWeb / APIRespond KORespond To WebhookRoutingIs Duplicate?IfData storeUpdate LeadGoogle Sheets

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.

Workflow node names, types, and operations
NodeCategoryTypeOperation
Token SuiteCRMWeb / APIHTTP RequestSee node parameters
Create Lead SuiteCRMWeb / APIHTTP RequestPOST
WebhookTriggerWebhookSee node parameters
On form submissionTriggerForm TriggerSee node parameters
Duplicate Lead?Data storeGoogle SheetsSee node parameters
Form FieldsTransformEdit FieldsSee node parameters
Get CouponData storeGoogle SheetsSee node parameters
Respond OKWeb / APIRespond To WebhookSee node parameters
Respond KOWeb / APIRespond To WebhookSee node parameters
Is Duplicate?RoutingIfSee node parameters
Update LeadData storeGoogle Sheetsupdate

Setup

  1. Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
  2. Connect your own credentials through n8n’s credential store. Replace REPLACE_WITH_* values with your resource identifiers.
  3. Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
  4. 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.

More in Data & databases