Hello there,
I am new to Akabot and have been exploring its capabilities for automating various processes. I have managed to set up a few simple workflows; but I have come across a challenge I could use some help with regarding custom task integration.
I am trying to integrate a custom task into my existing automation flow. The task involves fetching data from an external API and then processing it before passing the results into another step in the automation. I have looked into using the built in actions for web requests and data handling, but I’m unsure about how to properly handle complex data structures from the API response.
What is the best way to fetch and handle JSON responses from an API in Akabot? Should I use the built in HTTP Request activity; or is there a more efficient method for this scenario?
Once the data is fetched; I need to extract specific values from the JSON response. What is the best practice for parsing JSON objects in Akabot? Are there any predefined actions or libraries that would simplify this process?
Also, I have gone through this post; https://community.akabot.com/t/could-someone-guide-me-as-in-what-category-should-i-post-into-devops which definitely helped me out a lot.
In case the API call fails or returns an error; what is the recommended approach to ensure the workflow does not break? How can I implement error handling mechanisms for failed requests or invalid data?
Thank you in advance for your help and assistance.