I’m creating a recipe ingredient app. I’m using the OCR plugin so when users input an image of an ingredient list, it will save the ingredients in the database.
After reading Save an API List I learned I needed to schedule an API workflow. This is where I’m at:
I’m uploading this image
This workflow is running on the uploaded picture:
I create a new thing with the output as a list of text
However, the output looks like this in the database. I want to be saved as individual lines:
So I learned I need to schedule an API workflow on list.
The API workflow looks like this:
The only way I’ve been able to get an ingredient in the list to save properly is calling
This ends up looking like this in the database. It’s saved the first item “1 1/2 pounds skinless, boneless salmon” 10 times.
Goal: save each item in the ingredient list as its own line in the database.