Hi,
I am trying to create a custom trigger which will fire an action when any of three different columns in a board changes.
1.During the subscription call of the custom trigger, I create a change_column_value webHook and i keep at a local database the inputFields and both the webhookId and the subsriptionId of the customTrigger.
2.When the webHook is triggered the payload doe not contain the webhookId but it contains a subriptionId which is obviously the webHook subcriptionId and not the custom triggerId.
How can I identify which is the custom trigger which is related with the fired webHook?
Is there any way i can get the webHook subscriptionId when the webHook is created ?
What is exactly the subscriptionId for the webHook and is it user related ?
I mentioned that some developers say that they keep a list of subscriptionsIds per webhookId may this be really a list or a single record ?
The problem is that that when the webhook is triggered, i dont get the webhookId and the subscriptionId which I get does not much the subscriptionId of the trigger so i can not get the record in my database.
I am sorry to come back to such an easy matter but it seems I miss something.
The first two photos are in the subscribe event of a custom trigger. As you see the subscriptionId is 328691806. I create a new webhook and the webhookId is 272482182.
The problem is that when this webhook is triggered none of the two above ids is present in the webhook’s trigger payload.
Put the subscription ID of the trigger (not webhook) as a query parameter of the URL you supply to the webhook creation. Then you just get it back as a query parameter with the trigger.
Its been a while … and I have everything wrapped so the parameter gets copied to the payload.