API - getAutomationRules - No Data returned
Best Answer
-
@Genevieve P. I see the issue. All of my automations are row copy. I see in the API docs where it states "Only single-action notifications, approval requests, or update requests qualify." Once I added a notification workflow, it showed up in the postman response.
Answers
-
-
@Genevieve P. can you help confirm this please? Not getting any data in the api response for getAutomationRules
-
Hiya! Thanks for the tag, @Ryan Sides
I'm actually unable to replicate this in Postman - I can both list all automation rules and get a specific automation rule using the API.
Here's my call for getting just one specific automation:
And the result:
Can I clarify that you have the correct permissions on the sheet you're looking to Get?
Join us for Jumpstart 2025 with Community on 23 January (in two time zones)! 🎉 Register here.
-
@Genevieve P. Thank you for the quick reply! I do have the correct permissions, but how are you getting the list of Automation Numbers to add to the end of the url?
-
@Genevieve P. I see the issue. All of my automations are row copy. I see in the API docs where it states "Only single-action notifications, approval requests, or update requests qualify." Once I added a notification workflow, it showed up in the postman response.
-
Aha! Thank you so much for finding this out and posting @Ryan Sides - yes of course. I tested with a regular notification automation, which is why it showed up for me.
Workflow IDs can be found in the UI (Workflow properties) or through the API (if it's an accepted type of workflow it seems!).
There's a related Product Idea around workflows & the API here if you want to add your vote: Create Automation Rules with API
Cheers,
Genevieve
Join us for Jumpstart 2025 with Community on 23 January (in two time zones)! 🎉 Register here.
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.2K Get Help
- 444 Global Discussions
- 142 Industry Talk
- 473 Announcements
- 5K Ideas & Feature Requests
- 84 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 489 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives