Unique QRcode coupon assignment and validation for lead generation with SuiteCRM
This workflow is designed to manage the assignment and validation of unique QR code coupons within a lead generation system with SuiteCRM. --- How it Works This workflow automates the process of assigning unique QR co...
Template notes
This workflow is designed to manage the assignment and validation of unique QR code coupons within a lead generation system with SuiteCRM.
---
How it Works
This workflow automates the process of assigning unique QR code coupons to leads generated through a form submission, ensuring no duplicates are created, and validating the usage of coupons. Here's how it operates:
1. Webhook Trigger: - The workflow starts with a Webhook node that listens for incoming requests containing QR code data. - A Set coupon node extracts the QR code value from the request parameters.
2. Validation of QR Code: - An If node checks if the QR code exists in the incoming data. If it does, the process proceeds; otherwise, a "No coupon" response is sent back.
3. Coupon Lookup: - The Get Lead node queries a Google Sheets document to check if the QR code corresponds to an existing lead. - A subsequent Not used? node verifies whether the coupon has already been used by checking the "USED COUPON?" field in the sheet.
4. Lead Duplication Check: - When a new lead submits the form (On form submission), the Duplicate Lead? node checks if the email already exists in the system to prevent duplicates.