How to get the response from an API

I have an api to send sms messages.
What I want to do is get the response in Action Steps
If the response is good then it carries on with the steps.
If the response is bad then I send a response code.

The way the api send back the data is the following:
“data”: “OK:61411000000:788462687\n”
“data”: “BAD:04110000000:Invalid Number\n”

Anyone have any ideas ???

Set a condition of Starts With:

image

1 Like

Hi @ben
Thanks for the reply, I can see what your thinking… had to read it twice lol…long day

Cheers @ben that took me down the right path. :smile:

1 Like