Webhook for ending conversation in Messenger? | Community
Skip to main content
Answered

Webhook for ending conversation in Messenger?

  • Mar 14, 2022 2:37 PM UTC
  • 3 replies
  • 104 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?

Best answer by Eric Fitz

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.

View original

3 replies

Eric Fitz
Employee
Forum|alt.badge.img+5
  • Employee
  • Mar 14, 2022 5:59 PM UTC

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


  • Author
  • Connector
  • Mar 14, 2022 6:01 PM UTC

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.


Eric Fitz
Employee
Forum|alt.badge.img+5
  • Employee
  • Answer
  • Mar 14, 2022 6:02 PM UTC

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.