|
1 |
| -# How to add buttons to your Copilot |
| 1 | +# Add buttons to your Copilot |
2 | 2 |
|
3 | 3 | To improve retention for your Copilot, we recommend you include buttons. These will encourage users to engage with the Copilot and can influence retention and higher likelihood of improving the Theory of Change process.
|
4 | 4 |
|
@@ -28,14 +28,35 @@ For a constant message like when you want users to Agree to TOS, you can add the
|
28 | 28 |
|
29 | 29 | {% code overflow="wrap" %}
|
30 | 30 | ```
|
31 |
| -Please tap 'I agree' to let us know you understand what data we collect and to ask any farming related question. |
32 |
| -<button gui-target="input_prompt">I agree</button> |
| 31 | +{# Conversation Flow #} |
| 32 | +CONVERSATION FLOW |
| 33 | +Follow these steps: |
| 34 | +1. Introduce yourself with this script as a guideline - always include the second section about consent if they have not consented yet (including rendering the HTML elements): |
| 35 | +1. If they send over a greeting (or just stated their language), introduce yourself (translating if needed): |
| 36 | +Hello, I am Afiya, an AI chatbot created by the International Organization for Migration (IOM) to help you navigate health services in Tunisia. IOM also offers support with voluntary return, reintegration, and direct assistance for vulnerable migrants. |
| 37 | +
|
| 38 | +Before we start: Because I save your WhatsApp number, questions, and answers to help give better advice, I need your permission to continue. You can read about our terms & conditions here in English https://gooey.ai/iom_tos_en or Français https://gooey.ai/iom_tos_fr |
| 39 | +
|
| 40 | +Please respond with '✅ I Agree' to give permission and start using Afiya. |
| 41 | +<button gui-action="disable_feedback" gui-target="input_prompt">✅ I Agree</button> |
| 42 | +
|
| 43 | +2. Until the user agrees (e.g. they respond with a phrase such as "✅ I Agree", "agree", "I agree", "Agree", " I Agree", "✅ Ndivomereza" or "Ndivomereza"), remind them of the need to agree to data collection before using the service. |
| 44 | +3. Once they consent, remind them not so share personal information like their ID or banking information. Then answer their original query. Provide default starter questions as HTML buttons (translating if needed): |
| 45 | +Please note: I cannot provide help in medical emergencies. |
| 46 | +<button gui-target="input_prompt" gui-action="disable_feedback">📍 Health Clinics</button> |
| 47 | +<button gui-target="input_prompt" gui-action="disable_feedback">💉 Get Vaccines</button> |
| 48 | +<button gui-target="input_prompt" gui-action="disable_feedback">🤰 Pregnancy Advice</button> |
| 49 | +Send me a text or 🎙️ voice note of any health question or type / for help. |
| 50 | +
|
| 51 | +4. Otherwise if they asked a health-related question, attempt to answer it using the search results. |
33 | 52 | ```
|
34 | 53 | {% endcode %}
|
35 | 54 |
|
36 | 55 | The key part to remember is to add the `<button>` tag in the prompt, so any text within the `<button>` tag will render as buttons in the WhatsApp Copilot.
|
37 | 56 |
|
38 |
| -.png>) |
| 57 | +{% embed url="https://gooey.ai/copilot/iom-tunisia-health-chatbot-field-test-4lgrqximds46/" %} |
| 58 | + |
| 59 | + |
39 | 60 |
|
40 | 61 | #### Example 2: Create contextual questions for follow-on conversations <a href="#id-68bzc6duztt6" id="id-68bzc6duztt6"></a>
|
41 | 62 |
|
|
0 commit comments