Skip to main content

Creating Custom Triggers for group creation

  • November 20, 2020
  • 3 replies
  • 1289 views

There are many pre-built triggers available but there were no triggers when a group is created.
Can anyone please help on how exactly do I integrate custom triggers and webhooks. Is there some example or earlier work I can follow?

This topic has been closed for replies.

3 replies

basdebruin
  • Community Expert
  • November 20, 2020

hi @anmolcool007

Welcome to the community. I do have extensive experience using custom triggers / actions and webhooks and happy to help you with this.

Now for the bad news 😦: I don’t think you can achieve what you describe here. As I understand you want to tell monday.com to POST when a new group is created. Unfortunatly there is no such webhook you can configure (not through builtin automations, nor through the API (even when using custom triggers). The webhook types available (through the API) are:

  • When a new update is posted - create_update
  • When any column changes - change_column_value
  • When an item is created - create_item
  • When a column changes - change_specific_column_value *

No webhooks available (yet?) for newly created groups or boards 😦


dipro
Forum|alt.badge.img
  • Leader
  • November 20, 2020

Hey @anmolcool007 – as Bas mentioned, we don’t have webhooks that trigger on group creation.

That said, groups are accessible via the API and you can make a query to poll a specific board to check if any new groups have been created.

I’d recommend a lightweight query that doesn’t retrieve too much data, so you can poll often without using up your complexity allowance.
Here’s an example with a complexity of 1020:

query {
  complexity {
    query
  }
  boards (ids:162169280) {
    groups {
      id
    }
  }
}

  • March 12, 2021

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