Answered

Webhook for ending conversation in Messenger?

  • 14 March 2022
  • 3 replies
  • 19 views

Use Case:

Customer uses our messenger to go through custom bot, eventually entering their contact information into the messenger when their situation is not resolved. Is there a webhook on the customer finishing the conversation in messenger so that I can submit that information to my CRM through my Lambda?

icon

Best answer by Eric Fitz 14 March 2022, 19:02

View original

3 replies

Userlevel 1

Hey @chris c13​, you'd use the conversation.admin.closed webhook topic with the admin_id for Operator!

Hey @eric f11​, thanks for the reply. I'm actually exploring the conversation.user.created webhook right now as that seems to be more of what I need to do, since we're not closing. I think I'll likely use the conversation.admin.closed to add to the case once the conversation is over.

Userlevel 1

That would also do the trick in your case! The key here is to use Operator's admin_id, which you'll find by returning your list of admins through the API.

Reply