Powered by
Extracting User's Whatsapp Phone
# 🤝help
f
fresh-petabyte-54492
07/01/2024, 11:39 AM
I have a functioning FAQ bot on Whatsapp. I use an execute code card to extract variables from the flow and send them to a make.com webhook and then google sheets. Im able to send the user's question and the bot's answer to the make.com webhook, however, the whatsapp number isn't passed on. According to botpress Whatsapp docs, the number can be read as : {{ event.tags.conversation['whatsapp:userPhone'] }} I'm entering this in the execute code card and sending to make.com but not getting the value.
https://cdn.discordapp.com/attachments/1257299652324233267/1257299652684939264/Screenshot_2024-07-01_at_4.34.57_PM.png?ex=6683e70c&is=6682958c&hm=889c0a2c8401b50a954a927e7dec15462fb1afbc27953f5c2964b93e25cbace7&
b
broad-jordan-32045
07/02/2024, 6:24 PM
I'm stuck there too... Sooner today I opened my own issue here, but now that I'm seen yours I'm concerned
broad-jordan-32045
07/02/2024, 7:15 PM
Hi! I just set the event variable directly into the "send to webhook" code and it worked just fine...
https://cdn.discordapp.com/attachments/1257299652324233267/1257776655078789240/image.png?ex=6685a34a&is=668451ca&hm=d10e335bf538a3dbf0b2b8f59101204112fcd9e9b64794f88f80e25eed5b57e8&
d
dazzling-yak-71638
07/05/2024, 6:12 PM
did u manage to fix
@fresh-petabyte-54492
?
f
fresh-petabyte-54492
07/10/2024, 6:44 PM
nope, still the query and answer variables are being sent to google sheets, but not the whatsapp userphone
4
Views
Previous
Next