π Handling WhatsApp Flow Responses in Chakra
WhatsApp "Flows" let you send rich, interactive forms to customers. Chakra helps you process these responses automatically through Inbound Flow Rules. Hereβs how you can set it all up:
π§ Step 1: Access Inbound Flow Rulesβ
- Head over to your WhatsApp setup page
- Or navigate via Admin > Plugins and select the WhatsApp plugin
- Click the Flow tab
- Click "Add Another" to create a new rule for processing incoming flow responses
βοΈ Step 2: Configure a Ruleβ
π οΈ Choose Actionβ
- Select the action to perform when a flow response is received.
- Currently, only "Update Linked Process" is supported.
- Set the Procedure to
Lead
π (Optional) Change Lead Stateβ
- If you want to update the leadβs state based on the response, select the new state under "Change state to"
π§© Map Flow Fields to Lead Attributesβ
- Click "Add Another" under "Mapping for form fields in WhatsApp Flow Forms"
- For each mapping:
- In "Form Field Label", enter the label of the form field from your WhatsApp Flow
- In "Process Attribute", choose the corresponding Lead attribute to store the value
- Repeat for all form fields in your flow
π‘ Catch-All Field (Optional)β
- Set a fallback Lead field to store any form data that isnβt explicitly mapped.
- This ensures no data is lost if form fields change and mappings are missed.
ποΈ Select Applicable Flowsβ
- Choose specific flows this rule should apply to.
- Leave empty to apply the rule to all flow responses.
β Step 3: Add Multiple Rulesβ
- You can define multiple rules
- When a flow response is received, Chakra checks each rule in order until a match is found
- The first matching rule will process the response