-
Notifications
You must be signed in to change notification settings - Fork 9
Enhance documentation for Opt-in & Opt-out flows #568
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,16 @@ | ||
| # Opt-in & Opt-out Flows | ||
| <h3> | ||
| <table> | ||
| <tr> | ||
| <td><b> 5 minutes read</b></td> | ||
| <td style={{ paddingLeft: '40px' }}><b>Level: Intermediate </b></td> | ||
| <td style={{ paddingLeft: '40px' }}><b>Last Updated: January 2026</b></td> | ||
| </tr> | ||
| </table> | ||
| </h3> | ||
|
|
||
|
|
||
|
|
||
| > ### **2 minutes read `Intermediate`** | ||
| # Opt-in & Opt-out Flows | ||
|
|
||
|
|
||
| **When any new beneficiary sends a message for the very first time, the beneficiary can get an Optin message to give their consent to receive the messages from the BOT. Likewise, the beneficiary also has the freedom to Optout from receiving anymore messages from a Whatsapp Chatbot.** | ||
|
|
@@ -61,7 +71,13 @@ ___ | |
|
|
||
|  | ||
|
|
||
| ## What happens if a user has opted out and then opts in? | ||
|
|
||
| If a contact has previously opted out and then need opts back in | ||
|
|
||
| - The user needs to send the specific keyword like optin,start,hi which is associated to the flow which captures optin and saves it in update contact node. | ||
|
|
||
| - By sending the associated keyword that particular opt-in flow will get started, even though the contact was previously marked as invalid. | ||
|
Comment on lines
+74
to
+80
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Tighten grammar and opt-in wording for clarity. There are several grammatical errors and inconsistent “optin/opt-in” phrasing that reduce readability. Suggest tightening the sentences and hyphenating “opt-in/opt-out”. Proposed edit-If a contact has previously opted out and then need opts back in
+If a contact has previously opted out and then needs to opt back in:
-- The user needs to send the specific keyword like optin,start,hi which is associated to the flow which captures optin and saves it in update contact node.
+- The user needs to send a specific keyword (e.g., **optin**, **start**, **hi**) that is associated with the flow which captures opt-in and saves it in the “Update Contact” node.
-- By sending the associated keyword that particular opt-in flow will get started, even though the contact was previously marked as invalid.
+- Sending the associated keyword starts that opt-in flow, even if the contact was previously opted out.🧰 Tools🪛 LanguageTool[grammar] ~78-~78: Ensure spelling is correct (QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1) 🤖 Prompt for AI Agents |
||
| ___ | ||
| ## Sample Opt-in Flow | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use Markdown-friendly header markup (current JSX-style
style={{...}}won’t render).GitHub Markdown doesn’t support JSX-style
style={{ ... }}; it will likely render incorrectly or be stripped. Consider a Markdown table or plain text instead.Suggested Markdown replacement
🤖 Prompt for AI Agents