Advanced data mapping techniques - The passthrough feature
Let’s start by naming our flow. Here we are taking the webhook connector as our trigger. In case you skipped our previous short tutorial on webhooks, you need to copy this link and paste it in an empty tab to receive a sample. Now we are going to modify the sample – or correctly speaking, add it manually. These are just sample values to demonstrate how the passthrough feature works, so there is no point in seeking any deep meaning in them.
Next we are going to take the pet store connector as an action that follows our webhook and take some of the values from the webhook sample. As you can see, from the three values we take only the name and the status.
As a last step, we take the email connector – as we want to set up an update alert. And here is where the passthrough features kicks in, so to speak. As you remember, the previous step had only the name and the status values. So, in order to get an email, we access the webhook connector – our very first step. Now let’s fill the rest of the fields with the values served from the actual previous step – from the petstore connector. And after publishing and starting the flow, we see the result – a new alert in our email inbox