I have created 2 message templates directly on the Facebook Dashboard(which are approved).
I have a Twilio WhatsApp Sender Account Already Linked to this number.
So my question is how do I enable these templates on Twilio so that I can directly send these template messages from Twilio send message API?
I don't think this is something you can do on your own. You can try to reach out to support and ask them to re-synchronize the template with your Meta Business Manager. That might be able to solve your problem.
My recommendation for the future is to create the templates in the Twilio console:
Access the WhatsApp Message Templates page in Console by navigating to Messaging -> Senders -> WhatsApp Templates.
Click the Submit a Message Template button. If you are not creating a template for the first time, you will see the New message template button. Click it to create additional templates.
Fill out the various fields of the template form, click Submit Message Template and the template will be sent to WhatsApp for approval. All templates must be approved by WhatsApp before you can use them for messaging users.
Related
What's app business api Message Template rejected.
Message Body
Hi {{1}},
A new booking has been requested for {{2}}. Please use the quick reply to accept or decline.
Kind Regards
{{3}} Team
No Header or Footer
I am adding the screenshots here
Message Template
Preview
Rejection Message.
Create a meta dev account , using a existing facebook account and provided business name Test Business.
Sent predefined hello_world template message to personal what's app number.
trying to make Message Template but keeps getting rejected.
read all the terms and policy of whats app business.
Followed guidelines
Note: I haven't added any original business account information yet.
Need help figuring out why and how to make template that will get approval.
I using twilio flow to create simple chatbot that sends user a whatsapp message with link to provide some details and once user has provided the required details on web page, chat bot must reply with a THANKS message.
Is there anything like postback using rest api on active execution based on which a thank you message can sent.
Please have look on diagram as well.
Twilio developer evangelist here.
When you say you are using Twilio flow, I guess you are using Twilio Studio to send the messages. In this case, I don't think you can achieve what you want with Studio. You can't move an execution on with the REST API.
However, it should be fairly straightforward to send the thank you message from your application using the Twilio Messaging API instead.
What you will need to do is, when the user submits the form, in your back-end code as well as saving the data to your database, make a call to the Twilio API to send the WhatsApp message. I'm not sure what your application is built in, so I've just linked to the relevant documentation.
I'm looking into the Twilio Whatsapp API docs, and cannot find anywhere if it is possible to receive a message sent from a website webchat on a Whatsapp Business Account?
I would like to develop the following:
a user is on my website, and has a quesiton. He/she then opens the chatbox and types their question (non-whatsapp). This message is then sent to the Whatsapp Business Account of the Client and they can talk back and forth with the user.
I hope I have been clear enough, please let me know if I need to supply more information.
Twilio developer evangelist here.
I believe that this would be possible to do for one user messaging at a time, but practically and at scale, not really useful.
If you have a user sending a message through a website that is then delivered to a user through WhatsApp, you could build an application that allowed the user on WhatsApp reply to the message and relay that back to the website.
However, if you have one WhatsApp number registered to send messages on behalf of your application and multiple users were sending messages through the website, all the messages would come from that one WhatsApp number and it would be practically impossible for the user responding in WhatsApp to know who they were responding to.
It would likely be better to connect your users via webchat within the web application and use WhatsApp to notify the the client that there are new messages awaiting their reply.
LiveChat is a Slack bot that provides a chat widget for webpages which you can use to send messages to a Slack workspace. I would like to reproduce the behavior of the LiveChat bot which is somehow able to customize the bot name that appears with messages in Slack with a unique identifier for each user of the webpage with the chat widget.
I see that there is an as_user field in the Slack API, but LiveChat does not seem to be using this since clicking the name on any LiveChat message in Slack shows a popup for LiveChat. So the Slack user for all messages seems to be the LiveChat bot, but the name displayed with each message in Slack is customized as a unique id for the given user.
So, I don't want to dynamically control the user for each message. I just want to control the displayed name for each message from the single bot that I'm making.
I don't see anything in the postMessage API to support this. Do you know how to do it?
https://api.slack.com/methods/chat.postMessage
Is it possible to have an app send a text message/image to multiple email and sms accounts by pressing a single button? I understand that in the background the emails and sms messages are sent consecutively but I'm trying to avoid multiple view controllers being presented to the user. I have seen "iOS doesn't allow you to send e-mails or texts without user interaction" but the user would be pressing a button saying it was sending the message to list of email addresses and sms numbers.
I've been reviewing the materials on the Social Framework and MessageUI.Framework and searching forums but cannot find the information I'm looking for. Is there another framework I should be using?
As an extension Can you use the same button to send the same message to multiple accounts such as a facebook and twitter account?
You can use FacebookSDK for Facebook and (for example) FSHTwitterEngine for Twitter and create your own custom composer and sender. Both this libraries has sources on GitHub, so you can do what you want. But it not so easy way.