Skip to main content

Drive-to-store lead generation (with coupon) with Google Sheets & SuiteCRM

Workflow preview

Workflow preview
100%
Drive-to-store lead generation (with coupon) with Google Sheets & SuiteCRM preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Drive to Store is a multi channel marketing strategy that includes both the web and the physical context, with the aim of increasing the number of customers and sales in physical stores. This strat...

Best for

  • Lead Generation automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.httprequest, n8n-nodes-base.webhook, n8n-nodes-base.formtrigger, n8n-nodes-base.googlesheets, n8n-nodes-base.set, n8n-nodes-base.respondtowebhook, n8n-nodes-base.if, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Davide.

Original n8n.io source

1.1 Workflow description

Title
Drive-to-store lead generation (with coupon) with Google Sheets & SuiteCRM
Workflow name
Drive-to-store lead generation (with coupon) with Google Sheets & SuiteCRM

Drive-to-Store is a multi-channel marketing strategy that includes both the web and the physical context, with the aim of increasing the number of customers and sales in physical stores. This strategy guides potential customers from the online world to the physical point of sale through the provision of a coupon that can be spent in the store or on an e-commerce site.

The basic idea is to have a landing page with a form and a series of unique coupons to assign to leads as a "reward" for filling out the form.

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.

How It Works

  1. Form Submission:

    • The workflow starts with the On form submission node, which triggers when a user submits a form on a landing page. The form collects the user's name, surname, email, and phone number.
  2. Form Data Processing:

    • The Form Fields node extracts and sets the form data (name, surname, email, and phone) for use in subsequent steps.
  3. Duplicate Lead Check:

    • The Duplicate Lead? node checks if the submitted email already exists in a Google Sheets document. If the email is found, the workflow responds with a "duplicate lead" message (Respond KO node) and stops further processing.
  4. Coupon Retrieval:

    • If the email is not a duplicate, the Get Coupon node retrieves a coupon code from the Google Sheets document based on the lead's email.
  5. Lead Creation in SuiteCRM:

    • The Create Lead SuiteCRM node creates a new lead in SuiteCRM using the form data and the retrieved coupon code. The lead includes:
      • First name, last name, email, phone number, and coupon code.
  6. Google Sheets Update:

    • The Update Sheet node updates the Google Sheets document with the newly created lead's details, including:
      • Name, surname, email, phone, coupon code, lead ID, and the current date and time.
  7. Response to Webhook:

    • The Respond OK node sends a success response back to the webhook, indicating that the lead was created successfully.

Set Up Steps

  1. Configure Form Trigger:

    • Set up the On form submission node to collect user data (name, surname, email, and phone) via a web form.
  2. Set Up Google Sheets Integration:

    • Configure the Duplicate Lead?, Get Coupon, and Update Sheet nodes to interact with the Google Sheets document. Ensure the document contains columns for email, coupon, lead ID, and other relevant fields.
  3. Set Up SuiteCRM Authentication:

    • Configure the Token SuiteCRM node with the appropriate client credentials (client ID and client secret) to obtain an access token from SuiteCRM.
  4. Set Up Lead Creation in SuiteCRM:

    • Configure the Create Lead SuiteCRM node to send a POST request to SuiteCRM's API to create a new lead. Include the form data and coupon code in the request body.
  5. Set Up Webhook Responses:

    • Configure the Respond OK and Respond KO nodes to send appropriate JSON responses back to the webhook based on whether the lead was created or if it was a duplicate.
  6. Test the Workflow:

    • Submit a test form to ensure the workflow correctly checks for duplicates, retrieves a coupon, creates a lead in SuiteCRM, and updates the Google Sheets document.
  7. Activate the Workflow:

    • Once tested, activate the workflow to automate the process of handling form submissions and lead creation.

Key Features

  • Duplicate Lead Check: Prevents duplicate leads by checking if the email already exists in the Google Sheets document.
  • Coupon Assignment: Retrieves a coupon code from Google Sheets and assigns it to the new lead.
  • SuiteCRM Integration: Automatically creates a new lead in SuiteCRM with the form data and coupon code.
  • Data Logging: Logs all lead details in a Google Sheets document for tracking and analysis.
  • Webhook Responses: Provides immediate feedback on whether the lead was created successfully or if it was a duplicate.

1.2 Logical Blocks

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.

2. Block-by-Block Analysis

Block 1 - Token SuiteCRM

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 1

Block 2 - Create Lead SuiteCRM

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 3

Block 3 - Webhook

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 2

Block 4 - On form submission

Type / Role
n8n-nodes-base.formTrigger - formTrigger
Config choices
Version 2.2

Block 5 - Duplicate Lead?

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

Block 6 - Form Fields

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 7 - Get Coupon

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

Block 8 - Respond OK

Type / Role
n8n-nodes-base.respondToWebhook - respondToWebhook
Config choices
Version 1.1

Block 9 - Respond KO

Type / Role
n8n-nodes-base.respondToWebhook - respondToWebhook
Config choices
Version 1.1

Block 10 - Is Duplicate?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 11 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 16 - Update Lead

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

3. Summary Table

Workflow Drive-to-store lead generation (with coupon) with Google Sheets & SuiteCRM
Complexity advanced
Nodes 16
Categories Lead Generation
Author Davide
Published 12 Feb 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/2890/2890.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

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.

Frequently asked questions

What does Drive-to-store lead generation (with coupon) with Google Sheets & SuiteCRM do?

Drive to Store is a multi channel marketing strategy that includes both the web and the physical context, with the aim of increasing the number of customers and sales in physical stores. This strat...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

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 Generation use case.