Recursive Function in Workato

Alejandro Posted by: Alejandro Hernandez Date Posted: June 24, 2026
Back to Case Studies

Issue

AccuLynx jobs workflow – it has to make multiple requests per job, it has to cycle through multiple locations (using one API key per location), and it’s likely to suffer connection breaks.

Solution

All AccuLynx requests were previously handled by trigger logic, but the triggers stopped working due to connection errors. The AccuLynx requests were moved into a function that runs asynchronously, first called by a trigger, then calling itself recursively to cycle through all locations and pages.

Achievement

Solved an integration with a recursive function that cycles through API keys and result pages.

Snippet/Screenshot/Link

Recursive function