Is there a way that I can set up an API once (example CRUD User) so that I can reuse it multiple times throughout my app?
Right now it seems that at each place I want to call the API, I need to input the URL, body, etc all over again.
Is there a way that I can set up an API once (example CRUD User) so that I can reuse it multiple times throughout my app?
Right now it seems that at each place I want to call the API, I need to input the URL, body, etc all over again.
You can create a global workflow with the API request action
Then in every other workflow you can use the action “execute workflow”
the returned value of the workflow will be available as a result of the respective action
if you see undefined
as the result, just test the “execute workflow” action so you can see the shape of the returned data
Perfect! Didn’t know you could do a workflow inside a workflow. Thanks a lot!