These four buttons need to be updated to make a request to their corresponding webhook. I labelled these webhooks here, and @mattsahn has also added them as environment variables to our production deployment in railway:
When "Confirm Send" is clicked for these buttons, a POST request needs to be made with this data for each:
{
"target": {
"data": {
"text": "Override"
}
},
"conversation": {
"recipient": {
"handle": "+19174972514"
}
}
}
as seen in this Make automation https://us1.make.com/1989/scenarios/1275383/edit
The handle phone number will eventually be personalized depending on the user clicking the button, but for now it can always be Dan's.
These four buttons need to be updated to make a request to their corresponding webhook. I labelled these webhooks here, and @mattsahn has also added them as environment variables to our production deployment in railway:
Button Label (Make automation link): Webhook
Send Locations to Drivers (https://us1.make.com/1989/scenarios/329564/edit): https://hook.us1.make.com/4fj57gsj7psg0irr48jepu1b0gravjre
Send Driver Info to Coordinators (https://us1.make.com/1989/scenarios/1140162/edit): https://hook.us1.make.com/xgibeghsr3vqb79ltusrtroy74mtpv2h
Recruit Volunteers (https://us1.make.com/1989/scenarios/1134857/edit): https://hook.us1.make.com/tc28ixcalkcwbprsusyvt5nv5v9q6nhp
Recruit Coordinators (https://us1.make.com/1989/scenarios/1138389/edit): https://hook.us1.make.com/gww86tvt4sqpud6cg7a61qe88jg2sa24
When "Confirm Send" is clicked for these buttons, a POST request needs to be made with this data for each: { "target": { "data": { "text": "Override" } }, "conversation": { "recipient": { "handle": "+19174972514" } } } as seen in this Make automation https://us1.make.com/1989/scenarios/1275383/edit
The handle phone number will eventually be personalized depending on the user clicking the button, but for now it can always be Dan's.