Automation library · Lead generation

Unique QRcode coupon assignment

Started by someone submitting a form, and works across Email and Google Sheets. 21 steps, 3 branches: large, and worth reading before you trust it with anything live.

Large

21 stepsLarge: read it before trusting it with anything live
3Branches: places the flow splits
0Loops or waits
2Services it connects to

The flow

Starts it 5Logic 5Service 11

The steps in the order they run, from what starts it.

  1. 1WebhookWebhookStarts it
  2. 2On form submissionForm triggerStarts it
  3. 3Set couponSetLogic
  4. 4Form FieldsSetLogic
  5. 5IfIfLogic
  6. 6Duplicate Lead?Google SheetsService
  7. 7Get LeadGoogle SheetsService
  8. 8No couponRespond To WebhookStarts it
  9. 9Is Duplicate?IfLogic
  10. 10Not used?IfLogic
  11. 11Get CouponGoogle SheetsService
  12. 12Token SuiteCRM 1Http RequestService
  13. 13Coupon KORespond To WebhookStarts it
  14. 14Token SuiteCRMHttp RequestService
  15. 15Update LeadHttp RequestService
  16. 16Create Lead SuiteCRMHttp RequestService
  17. 17Update coupon usedGoogle SheetsService
  18. 18Update SheetGoogle SheetsService
  19. 19Coupon OKRespond To WebhookStarts it
  20. 20Get QRHttp RequestService
  21. 21Send EmailEmail SendService

How it's built

Starts on
Someone submitting a form
Steps
21, with 3 branches
Size
Large: read it before trusting it with anything live
Connects to
Email, Google Sheets
Model
None. This is plumbing, not judgement

Questions

What does it need to run?

An n8n account, plus your own Email and Google Sheets accounts. You connect your own accounts after importing it; none are included.

What starts it?

It starts on someone submitting a form.

Does it use AI?

No. Every step is fixed logic or a call to a service, so it does the same thing every time.

How long does it take to set up?

Take your time. At 21 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

Before you run it

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 21 steps before you point it at anything that matters.