Hi everyone,
I’m building an app where users can input their CV (or resume) text, and the app extracts key sections (e.g., Experience, Education, Certifications) to create database entries.
The workflow works as follows:
- User inputs CV text and clicks a button - text sent to ChatGPT via API
- The ChatGPT API returns a structured JSON, including lists like
Experience
. - I use the JSON Manipulator plugin to extract the list using a JsonPath expression (e.g.,
$.Experience
). - I then use Schedule API Workflow on a List to process each experience and create a new entry in the database. This part is not working
The Problem:
The secondary workflow is receiving the entire Experience array as a single JSON text object, instead of processing each item individually.
For example, it’s receiving:
[{"Start Date":"2023-01-01","End Date":null,"Description":"Head of UX","Company Name":"TechCorp","Role":"Head of UX"},{"Start Date":"2022-01-01","End Date":"2023-01-01","Description":"UX Researcher","Company Name":"DesignCo","Role":"Researcher"}]
Instead of:
{"Start Date":"2023-01-01","End Date":null,"Description":"Head of UX","Company Name":"TechCorp","Role":"Head of UX"}
As a result, it thinks there is a single item in the list when there are actually multiple.
I need help figuring out how to ensure that each JSON object in the list is passed individually to the secondary workflow.
Hope this makes sense, happy to answer any questions you have on it or provide screenshots of my actions. Thanks in advance for your help!