Scheduler APIs

Corey Ruderman · Friday Demos · May 9, 2025 · 2:19

Now you can build schedules via API, great for bursting and embedded use cases.

Transcript

This transcript is auto-generated. Names and product terms may be wrong.

  1. Um, I guess up next, so I'm going to demo some new API endpoints. Do we see Postman? Is that what's actually sharing? Yep. Okay, solid. Um, okay. So, first we're going to use the new create schedule endpoint. A lot of different configuration options here. Um, I'm going to schedule I'm going to create a schedule on a dashboard that just has one tile that is user count by city.

  2. Um things to point out here um few different recipients. I've added user attributes um for these recipients. Um so they each have a user attribute of state. So you know California, PA, Colorado. Um and then we have an option for test now. So that is true. We're just going to send a one-time job for now. We'll just create a a schedule and save it.

  3. Let's create it. We're going to get an ID back. We can use that to trigger the schedule. But first, um, I'll just show the new get schedules endpoint. 2. Uh, we have a ton of different ways to filter our schedules, uh, including sort of like a fuzzy find. And we can grab our schedule here, get some information about it.

  4. And, uh, one thing to note, last completed at last status are both null because we haven't run it yet. Let's use our ID to actually trigger this thing. If we run our get schedules again, you see these guys have updated and then let's go to the UI real quick. Um, okay. So, here is my dash. Let's just refresh just in case.

  5. Here is my schedule. Um we in our request we chose to apply the individual recipient user attributes. So in our email that we got upon triggering we should see for Corey PA we get the data filtered by uh Pennsylvania using the the attribute. Um that's about it. Uh how is