https://discord.gg/botpress logo
Linking automation to whatsapp
# 🤝help
i
Hi everyone If anyone would be kind enough to help me with an issue i have with an automation i built on botpress, id be more than grateful
p
Could you detail what you are trying to do and where you are running into issues?
i
Hi Leane
So im actually having two issue
issue number one being that everytime I run this automation, i do not receieve any confirmation email being sent despite it displaying a message like that
Issue number two, i want this automation to run through whatsapp but I do not know how to link my chatbot to whatsapp
Is there any way you could help me with these issues?
p
For issue 1 what integration are you using? Can you show the error message in the logs, it might help you find out what's going wrong. For issue 2, install the whatsapp integration, you will need a meta business account. While you are waiting for meta's approval, you can use the sandbox environment to test your bot.
i
I will show you my whole automation
Ah okay, what is the sandbox environment btw?
I am new to ai automations and this website so I am looking to learn these things
p
What external service are you trying to use for your reservations? Can you show the logs?
The sandbox environment is a way to demo on whatsapp how the bot will communicate because it has been historically very hard to get a business account approved and everything set up properly on meta's side of things.
i
Ahhhh perfect, how would i be able to access it?
p
please click publish and then copy the link it provides into a new tab and try again.
i
okay bare with me thanks
p
when you install an integration from the hub it'll give you a qr code and everything will be super easy from there.
ah okay
thanks
I am really sorry about this but i have no idea why it is failing to work
p
Can you look at the logs in the dashboard this time?
i
Hi yes ive looked at the logs and its displaying this particular message
p
You have followed the integration setup steps right?
i
yup
shall i send a ss of the codes ive used?
p
Are the records being created properly?
i
yhyh
ill show u
actually no they arent either
p
I would start by fixing the errors in your execute code card
i
Ah okay
do you have any suggestions?
p
i
Okat ty let me try this now
@prehistoric-airplane-85682
I think i have figured out the issue
i dont think its to do with the coding
i think its a problem with the sendgrid card
for some reason, it does not want to send a confirmation email
idk is there a way u can access my account and see what the issue is as every time i try to run the automation no matter what I do
it either makes it worse
or it displays this same error message
p
You can send me your workspace id. Have you tried copying the script tags in jsfiddle or you actual website?
i
Oh no i have no tried that and i will send u my workspace id now
wkspace_01JT68C7QT3KMD6GQZPTE23NMT
p
Also can you try sending a test email with no variables?
i
How would I do that?
p
connect a send email card to the start node but write out values
i
okay bare with
p
Indeed, are you receiving it then?
i
Nah, I’m still not receiving the email but what I’m gonna do is create a separate automation and just implement the send email card and see if I receive an email
If I receive an email I’ll know it’s another problem within my automation
p
That's a good plan! Let me know how it goes.
i
I will do, thank you so much for your help
hi @prehistoric-airplane-85682
im sorry abt this, ive been pestering u all day 🤣
i think its an external issue i am having with sendgrid because every aspect of the automation works like when a customer makes an enquiry abou the menu but for some reaon, it just doesnt want to send a confirmation email
p
Yeah I've tried it on my side and can't seem to find the correct input for it to work. Had you created a sender for yourself and authenticated it?
i
I’m pretty sure I’ve authenticated it but I will have to double check tomorrow
Maybe that is the issue cause the only problem is that it doesn’t send the email
Ive created a sender and its been authenticated but it is still displaying that same error, the whole automation is working perfectly but the issue is to do with sendgrid
p
I'll investigate on the proper input and get back to you.
i
Okay thank you so much leaner
Leanne*
2 Views