I have implemented a custom trigger and action for a Monday.com Integration
After subscribing, Monday.com will send a request to my server with payload containing subscriptionURL for adding a new item to the board
After sending a post request to the above api it returns {success: true} if everything went correct and new item is added to the board.
But for some requests to this url even when no item is added to the board it still returns { success: true}.
This is very difficult while debugging because there is no clue what went wrong
Do you mind saying a bit more about what your integration recipe is doing? It sounds like the trigger is when an item is added to your board, right?
In terms of the Subscription URL, this usually is separate from your integration action/trigger endpoints.
When a user adds your integration recipe to their board, this will send the request to your subscription URL, which will return true if the subscription was successfully created, and the integration is now added to your board.
Totally separate from running the actual integration itself! Could this be the issue you’re running into?
Subscription URL will return true if the integration recipe has successfully been added to a board, and unsubscription URL will return true if the integration recipe has successfully been deleted from the board.
Let me know if I misunderstood your question/what you’re working with! Happy to continue digging into this with you.
Just to make sure we’re on the same page here, would you be able to clarify why you are using that endpoint specifically? Typically, our API endpoint is https://api.monday.com/v2, and in apps, you should be able to use the mondayClient.api service instead. Perhaps this is causing the issue here?
Hi again @Nithin_phil! It’s been a few days since we last chatted.
I’m still a bit confused by the issue that you’re running into. Perhaps it might help for you to record a quick screengrab video of the entire flow of your integration recipe (you can use a platform like loom.com)?
I’m particularly curious to see these endpoints that you’re calling, as well as your payload that you’re receiving when you subscribe, unsubscribe, and for both your custom trigger and action.