Hello, sorry for maybe basic question. Is there a way to create logic upon a server response? I’m kinda sure that must be somewhere there but I couldn’t find it in the editor or tutorials.
Sample use case:
Let’s say I got a functionality where I let users report dead links. Every time a user reports a dead link, the counter on a server is incremented and for every such request, the server responds with this counter’s results. Once the counter gets to 10 and the user’s browser gets this response I want the user’s browser to automatically send DEL to a server to delete a link from a DB.
- set up a link that a user clicks when they want to report the dead link
- in the workflow panel, create trigger, On Link Click
- Do whatever you need to send info to your server. Probably a rest api.
- Have that api send a response of the link-id and the boolean to delete the link or not
@kevinwasie answer seems to do the trick
This is partially doable by getting back the result from a previous workflow action into the next (for the API call here).
It becomes available if you test the previous action and get a result, like so
But to check if the result is 10, you’ll need branching, which we’re currently working on to let you do Integromat-like workflows with complex scenarios.
I’ll keep you updated when it’s live!