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 information? 👀 | 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 information? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao!👋 | Global Discussions