How to simulate On Success in context?

  • uunicode-1332489703395688599

    unicodes

    3 months ago

    I need to implement logic that triggers an 'On Success' action after calling a workflow that interacts with an API. My initial idea was to use a formula in the context to handle the API response and reply accordingly. However, this approach would require defining separate 'On Success' and 'On Error' contexts for each API, which could quickly become overwhelming and lead to excessive context definitions. Do you have a better approach or suggestion that might simplify this process?
    1332489703521386597-Screenshot_2025-01-25_at_01.13.33.png