Multiline input with a API connection

Hi, i have a API in a ticket services, and i want the users to mark ticket as closed. I got sucess when the user input the data on only one value, but when i created the multiline input i’m stuck.

OK:

Not OK:

The data on the list to run on it is ok, but when i go to the next step:

I’m using the schedule api workflow list

Backend workflow:

It’s a simple logic, but i’m stuck.

To understand better, i’m using a API that sends a PATCH data (always the same) and only changes the ID on the end of the url

/tickets?token=&id=IDHERE

Any help?

Hey Christian

I believe you are giving a wrong input for the ID, which should be “This text”
instead of multinhas value split by \n.

Please let me know if it works

Best

Julian

1 Like

Hey Julian,

I changed, but still ocurring the same thing:

As the data on list to run on it is correct, i’m thinking the error is here:

But cant find how

Ok, i managed to get the info correct here:

And here:

But sounds like i’m sending only one request to /tickets?token=&id=IDHERE

with the two numbers on the same request, like /tickets?token=&id=482160
482151

How can i loop to get every data and send a new request?

this tutorial might help you understand api workflows better

1 Like