Hi guys,
I’m developing an app which gets data from external API and returns them into a board. The app works perfectly fine if I use build-in trigger (“When column changes”). However, I’m forced to use custom trigger (“When text or number column changes”) to restrict trigger column type. To achieve that, app uses custom trigger in which specifies trigger column type to text, long text or number only.
I implemented subscription/unsubscription endpoints to get the webhookUrl and manage the subscription. I’m able to call the webhookUrl with in Postman using tunnel to my localhost. The action is called properly as expected.
Now, I’m stuck with calling it programmatically. I thought, I’d create a new webhook which should call the webhookUrl via my app:
- When column changes
- Call my monday app endpoint (using monday code)
- Select proper webhookUrl from app storage
- Call selected webhookUrl
- Action trigger is called and make the integration running
Questions:
- Does it make sense to you?
- Is there any simpler way to how to make it?
- If not, how to create a webhook pointing to your app? I use hostname from subscribe request however it looks kind of dummy.
Thank you in advance!