Skip to content

Commit dd87519

Browse files
Update Sending Polls To WhatsApp Groups.md (#521)
- Added the last updated at. - Updated/ Added screenshots in the create a flow section, given the recent change in UI for webhook dropdwons
1 parent 46b19e7 commit dd87519

File tree

1 file changed

+33
-8
lines changed

1 file changed

+33
-8
lines changed

docs/6. WhatsApp Groups Automation/Sending Polls To WhatsApp Groups.md

Lines changed: 33 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
1-
### **5 minute read                                                                                                                         `Beginner`**
21

32
## Sending Polls to WhatsApp Group Collections.
43

4+
<h4>
5+
<table>
6+
<tr>
7+
<td><b>5 minutes read</b></td>
8+
<td style={{ paddingLeft: '40px' }}><b>Level: Beginner</b></td>
9+
<td style={{ paddingLeft: '40px' }}><b>Last Updated: December 2025</b></td>
10+
</tr>
11+
</table>
12+
</h4>
13+
514
Glific platform can be used to create polls. Send or scheudule the polls in advance to multiple groups.
615

716
### Pre-requisites
@@ -24,24 +33,40 @@ Glific platform can be used to create polls. Send or scheudule the polls in adva
2433

2534
### Create a flow to send the poll
2635
1. Create a new flow
27-
2. Use `Call a webhook` node. Select `Function` from the dropdown and type the following function name to send the poll `send_wa_group_poll`
36+
2. Add a `call a webhook` node.
37+
38+
- By default, `FUNCTION` would be selected. Leave this as it is.
39+
40+
<img width="446" height="372" alt="Screenshot 2025-12-03 at 12 45 20 PM" src="https://github.com/user-attachments/assets/7e55f3ac-0bf3-4634-8084-92ac9caa2001" />
41+
42+
- In the `FUNCTION` field, select the pre-defined function `send_wa_group_poll` from the dropdown and give the result name.
43+
44+
<img width="586" height="487" alt="Screenshot 2025-12-03 at 12 46 01 PM" src="https://github.com/user-attachments/assets/ccf0745b-bdf1-4f62-8cf4-4e889c94cd98" />
2845

29-
<img width="711" alt="Screenshot 2025-02-14 at 2 49 58 PM" src="https://github.com/user-attachments/assets/67334573-d4b4-456d-8f27-50249e6126a0" />
46+
<img width="632" height="529" alt="Screenshot 2025-12-03 at 12 46 54 PM" src="https://github.com/user-attachments/assets/39dd1da6-6d1d-4ab5-ab1f-eacd2e368e91" />
47+
48+
3. Add the parameters in the FUNCTION Body.
49+
50+
- Go to `FUNCTION Body` on top right corner. You would see the following.
51+
52+
<img width="629" height="449" alt="Screenshot 2025-12-03 at 12 48 56 PM" src="https://github.com/user-attachments/assets/cb5dd8a6-fa4c-4e11-8c5f-7952baceb021" />
53+
54+
- Pass the following parameters.
3055

31-
Go to Function `FUNCTION body` and pass the following parameters
3256
`{
3357
"wa_group": "@wa_group",
3458
"poll_uuid": ""
3559
}`
60+
3661
<img width="703" alt="Screenshot 2025-02-14 at 2 50 43 PM" src="https://github.com/user-attachments/assets/1972b5da-1e94-489d-af94-d3d53e2b0b02" />
3762

38-
- “poll_uuid”: "" from the polls list paging by selecting on `Copy UUID`.
39-
- “wa_group”: “@wa_group” will remain as is.
63+
- `“poll_uuid”: ""` from the polls list paging by selecting on `Copy UUID`.
64+
- `“wa_group”: “@wa_group”` will remain as is.
4065

41-
3. This completes the flow
66+
4. This completes the flow
4267
<img width="850" alt="Screenshot 2025-02-14 at 4 08 36 PM" src="https://github.com/user-attachments/assets/717abce9-faf1-496e-b051-d2831fd4fa7f" />
4368

44-
**4. Please note: No further `send message node` is needed to send the poll to WhatsApp group. The webhook success response sends the poll with the given poll uuid to the groups.**
69+
**5. Please note: No further `send message node` is needed to send the poll to WhatsApp group. The webhook success response sends the poll with the given poll uuid to the groups.**
4570

4671
Here is a [SAMPLE FLOW](https://drive.google.com/file/d/13CyRD8Gmq0J1J_lICrwIq55TBbwHND90/view?usp=sharing). To use this flow, go to the link, download the csv, and upload this flow using `import a flow` in your Glific instance. Change the `poll_uuid` in the webhook function body to match the `poll_uuid` of the poll you have created in your Glific instace.
4772

0 commit comments

Comments
 (0)