Monday.com Integration custom Trigger

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

The url looks like https://api-gw.monday.com/automations/apps-events/board_id

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

Hi @Nithin_phil, welcome to our community!

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.

I am adding new items to the board using the url https://api-gw.monday.com/automations/apps-events/board_id. Post request along with payload is send to this url along with authorisation header

For some requests even when it doesn’t create a new item to the board it still returns {success: true}

Hey @Nithin_phil :wave:

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?

-Alex

After adding a new Integration to the board https://api-gw.monday.com/automations/apps-events/board_id will be the url send by monday.com for adding new item to the board

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.

Thanks!

Hi @Nithin_phil,

Since we haven’t heard from you in a while, I will be closing this thread.

Should the issue still be occurring, please feel free to either open up a new topic, or write into appsupport@monday.com.

Thanks!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.