I have an API that sends me jobs. The idea is to create or update each job in the database.
For the moment, all the jobs are created in only one line of the database rather than separated.
In back-end workflows, I created “all jobs” that is supposed to receive a list of jobs in the “list-jobs” parameter and then create/update each job (see image 1).
I can receive all the jobs that look like this :
The problem occurs when I want to pass the response inside the “list-jobs” parameter which says they are expecting a list of Jobs rather than a text:
Is there a way to convert the API response to a list of Jobs or should I do everything differently? I couldn’t modify it directly in the image 2.
Thank you for help.