
A confirmation flow routes OPT-OUT to Unsubscribe and keeps the other branch subscribed.
Step 1: Create a Rule-based Agent flow
Open Flows and select Create a flow.
Step 2: Add unsubscribe trigger keywords
Recommendation: Set multiple unsubscribe keywords and choose “Containing” rather than “Exact matching”. This way, any keyword in the list will trigger the Rule-based Agent. After setting up, click the save button.
Choose Containing and add the keywords customers use to opt out.
Step 3: Confirm customer’s unsubscribe intention (optional)
Detailed steps:- Select the “Ask a question” component
- Choose the Buttons message format
Choose Buttons for a confirmation question.
- Set the inquiry content: “Please confirm if you want to unsubscribe from WhatsApp?”
- Set two options for the Button
- OPT-OUT
- Keep me subscribed
- After setting up, click Save
Enter the confirmation question and both reply choices, then save the node.
- Connect the Keyword trigger to the Ask a question component after setting up
Step 4: Add to Unsubscribe List
- Add the Unsubscribe component
- You can choose whether to automatically reply with a successful unsubscribe message. If needed, click the Auto-reply switch and enter the auto-reply content below, then select Save to save.
Enable Auto-reply if you want to confirm the successful unsubscribe action.
- Connect the “OPT-OUT” button from the Ask a question component to the Unsubscribe component
Connect the trigger to the question, then connect OPT-OUT to Unsubscribe.
Step 5: Add a Send messages text (optional)
Add a Send messages text component and connect it to the Keep me subscribed buttonSend a short confirmation on the Keep me subscribed branch.
Step 6: Save and activate the Rule-based Agent
After editing the flow, select Save, choose Active, then save again. When a customer completes the unsubscribe flow, YCloud adds the phone number to Contact > Unsubscribe list.Choose the desired status before the final Save. This screenshot shows the activation option.

