Skip to main content

Best way to detect pulse creation?

  • July 22, 2019
  • 4 replies
  • 1669 views

So under API v1, I was using the “/v1/boards/{board_id}/pulses.json” method to find the latest created pulse on a board. How can I do this with v2? I have:

{
  boards(ids: 183208254) {
    items {
      id
      name
    }
  }
}

But not seeing what I can add to the items group to retrieve the creation date. Is there an alternate/better way to do this? Otherwise, when are webhooks coming out so I can capture the pulse creation that way?

Best, Jake

This topic has been closed for replies.

4 replies

dipro
Forum|alt.badge.img
  • Leader
  • July 23, 2019

Hey Jake! Great question 🙂

I think adding some metadata like creation date to the items and boards is a great idea! I’ll pass it to the team as feedback.

Our webhooks are currently in alpha testing – if you’d like to test them out, go ahead and reach out to support@monday.com so we can get you sorted 💯

Cheers,
Dipro


  • Author
  • New Participant
  • July 24, 2019

Hi Dipro, are there any other ways to detect pulse creation under v2? Or would it pretty much be the webhooks for now?


dipro
Forum|alt.badge.img
  • Leader
  • July 24, 2019

Hey Jake, at the moment I’d suggest either using webhooks or storing the IDs of the already-created items in an array in your application, so you can check against it for new items.

I’m also going to loop in one of our devs, @Ayelet. Ayelet, do you have any more ideas for a workaround?


Ayelet
Forum|alt.badge.img
  • monday.com Team Member
  • July 24, 2019

Hey @jake,
I agree with @dipro that the webhooks alpha feature is the best solution.
We are also working on a way to subscribe to a webhook via the GraphQL API so you will be able to do everything in your code without using the monday.com interface.