Hello all!
We currently sync all of our Segment data into Snowflake but there is one event which has a format that upon Segments automatic un-nesting of properties into columns creates a column explosion and sync failure.
To overcome this we have been proposed creating the below flow.
- Segment Source via Function - this function is defined to intercept the malformed property and correct it. Creating an identical event besides that one event property being changed.
- Segment webhook Destination - this is a webhook (actions) destination which has as input our source which brings in the malformed event. This destination has a mapping configured to send to the webhook url defined by the Segment Source via Function.
All Testing is showing that the Source Function is behaving as expected where I can pass in an event with the malformed event and it corrects it. The webhook Destination when sending a test event shows that the event being sent was a success. The problem is that the Source, powered by the Source function, is not actually receiving the event.
Can someone point me in the right direction?
My current thinking is that I need some authentication headers but I’m not sure if that’s true or if it is how to define them.
Thanks in advance,
Paul Burns