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
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 142 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives