Agent messages coming to the webhook in HTML, Need a way to parse it. | Community
Skip to main content

Agent messages coming to the webhook in HTML, Need a way to parse it.

  • October 26, 2021
  • 1 reply
  • 12 views

Hello People,

 

I am trying to use an app with a webhook to do the 2-way communication between user and intercom agent.

The agent messages are showing up in the body field of the event coming to the webhook(PFI for ref) in the HTML format, I need a way on how to parse this body and fetch the message in it to show the same to the user.

 

Screenshot 2021-10-26 at 1.40.29 PMThanks in advance.

1 reply

Eric Fitz
Employee
Forum|alt.badge.img+5
  • Employee
  • 1630 replies
  • October 29, 2021

Hey @user1030​, do you know enough about webhooks to be able to help @user168​ here?