https://discord.gg/botpress logo
Extracting User's Whatsapp Phone
# 🤝help
f
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
I'm stuck there too... Sooner today I opened my own issue here, but now that I'm seen yours I'm concerned
d
did u manage to fix @fresh-petabyte-54492?
f
nope, still the query and answer variables are being sent to google sheets, but not the whatsapp userphone
4 Views