How to find value in changing webhooks?

Status: Closed · Asked by seminare_sk on · 0 views

seminare_sk — Question ·
Task History ID: IjU3NjIwNTY4MDYzNTA0M2M1MjZkNTUzMDUxMzQ1MTZhNTQzNyI_3D_pc

Hi experts,
my ticketshop changes the name of the field I want to map depending on the number of tickets someone buys. I want to extract all attendees email addresses.
If someone buys only one ticket, the field in the webhook is named "Tickets 6 Ticket Attendee 0 Email", so I could map this field to extract the attendees email. But if someone buys three tickets in the same purchase, the fields are mapped „Tickets 8 Ticket Attendees 0 Email“, „Tickets 24 Ticket Attendees 0 Email“ and „Tickets 40 Ticket Attendees 0 Email“. So my mapping is not correct anymore and I do not get the email to process it.

Is there a possibility to search in all fields for a special character, like "@", and therefore get the address dynamically regardless of the name of the field in the webhook?

Thanks

Pabbly13 — Reply ·

Hey @seminare_sk !

We can see that you are receiving the main email from your Elopage response as "Payer Email" which you just need to map in the Flowlu step-

You would not require to map other key emails in your Flowlu account, as this will work for you in all the conditions regardless if its a single ticket purchase or multiple ticket purchase, this email key will remain the same throughout.

seminare_sk — Reply ·

Hi, I am aware of that. But I need the addresses of the participants of the event, not just the buyers address.

Pabbly13 — Reply ·

Hey @seminare_sk !

Kindly provide us with a workflow histroy ID in which there are multiple email address , as when we check on some random workflow histroy ID we cannot see multiple email address in it, and can only see same emails in all the response.

So as per your requirement we can check further if possible or not.

seminare_sk — Reply ·

IjU3NjIwNTY4MDYzMTA0MzI1MjZmNTUzNTUxMzc1MTYzNTQzNCI_3D_pc

seminare_sk — Reply ·

IjU3NjIwNTY4MDYzMTA0MzA1MjY5NTUzMjUxM2I1MTY2NTQzOSI_3D_pc

Pabbly13 — Reply ·

Hey @seminare_sk !

On checking on our with the task ID you have provided, its not fetching data for your workflow "elopage to flowlu"

Kindly cross check at your end and provide us with the correct workflow histroy ID, which looks like this-

So we can further check on your concern.

Back to all forum threads · Log in to reply