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?
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
-
@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
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 495 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives