Voiceflow + Facebook Messenger Chatbot not working

Hi,

I am trying to link a Voiceflow AI Chatbot to Facebook Messenger.

I have 3 Modules in my automation:

  1. Webhook - captures data from Facebook when I receive a new message
  2. HTTP API call - sends the FB message to Voiceflow and generates an AI response
  3. Webhook Response - sends the AI response back to Facebook API

I have figured out how to set up the first 2 steps and my data is coming out correctly.

However, for the life of me, I can’t figure out to send the response back to Facebook even though the 3rd Module appears to be processing correctly.

I have tried all kinds of variations of code in that final module.

From putting the URL, PAGE ID, etc into the Header section with a couple lines of code in the Body, to stuffing it all into the Body (see below). No matter what I try, I can’t seem to get Facebook Messenger to produce an output.

At this point I’m not even sure if this Webhooks response module is the right module to do it.

Does anyone have experience with FB Messenger Bots?
Is this even possible with Make.com?

All of the Voiceflow tutorials for hosting a Webhook like this for a bot were running code on Ngrok on Replit, but that’s a little beyond my paygrade lol Thanks for the help.

1 Like

I finally solved this after 60 tries.

I had to switch the 3rd Module from a Webhook Response to a HTTP Make a Request module.

Here is the data structure:


3 Likes

Heya @John2 :wave:

I just wanted to step in really quickly to say:

  1. Awesome work figuring this out on your own :clap:

  2. Thank you so much for jumping back into the community and sharing what did the trick with us! This is incredibly valuable and will be tremendously helpful to other folks looking for similar information :pray:

2 Likes