Help Needed with Mautic Campaign Webhooks and Knime REST API Integration

Hello everyone,

I am trying to use campaign webhooks in Mautic to fetch data from a REST API that I built with Knime.

My current campaign workflow is as follows:

  1. A user fills out the Ticketcode Form (indicating that they want a ticket).
  2. Those contacts are then pushed to a new segment called “send Ticketcode.”
  3. I want to retrieve the ticket code via the Knime REST API, so I have set up a webhook action that sends a POST request to Knime. This should trigger my workflow in Knime and return the ticket code and the link.

The next step is to send an email to the customer containing the ticket code and the link.

I have already experimented with different headers and data formats, but I am facing challenges in getting it to work.

Does anyone have any suggestions or ideas on how to solve this issue? Any help would be greatly appreciated!

Thank you!