How To Integrate Zapier With Messenger Bot Using Webhook – Gmail
Follow this process to make your own integration with this third-party application.
The Webhooks by Zapier trigger supports sending more than a single trigger event per webhook request. You can send an array of properly formed JSON objects and will trigger the Zapier once for each object in the array. It triggers the actions 3 times – once for every object in the array.
Silent mode: some apps want to receive an empty body. If you don’t want to receive content in the response from Zapier, select the Silent mode checkbox.
Pick off child key: This is the specific key you want Zapier to use from the request you make to the webhook URL. This is useful if you only care about getting a subset of the data that is sent to the webhook.
Copy the webhook URL and paste it to Messenger Bot JSON API Connector features.
Provide Bot Name and your keywords separated by a comma.
Select the reply type you wanted to perform. Like Text, Image, Audio, Video, File, Quick Reply, Text with buttons, Generic Template, Carousel, and many more.
Provide your reply message. Then, choose the Button Type and Name your Button text.
Click Submit when done.
Now, let’s check if the webhook really triggers. Log in to your Facebook Page. And try to message your page news or email. Type News or Email as that was the keyword written in the reply bot. Reply with your “Email Address“. Supply your Email Address. Then, click Submit. The email address was received. Now, check your Zapier if it really triggers.
For Action App, choose Gmail. Set Action Event to Send Email. Name it Send Email in Gmail. Then click Continue.
Next, Customize Email:
- Supply the needed information such as To whom to send.
- You can also put Cc, Bcc if needed.
- From: Senders email address
- From Name: Senders Name.
- Reply to: Email Address.
- Supply the Subject, that appropriate to the email.
- Choose Body Type between Plain and HTML.
- Body: Write your message. You can also put the receiver’s name, and your Facebook Page Name.
- Signature: Sender’s Page Name.
- Label/Mailbox: Scroll down to choose the different types of labels.
You can also put any attachments related to your email. Then, click Continue.
This is the Summary of the Customized Mail. Click, Test & Continue.
This is the result that the action was successful. Click, Turn on Zap.
The green check indicates that the trigger and action event successfully Zap On.
This is the Sample email sent to Facebook Page Subscriber.
Now you’re ready to make your own integration just follow the step-by-step process and integrate with your Messenger Bot.