Hi everyone,
I’m working on a workflow for extracting data from invoices using AI for visual extraction. However, I have different vendors, and the prompt I use varies for each vendor.
Initially, I built the workflow specifically for one vendor, including a Make function in the prompt. Now, I want to save the prompts in a Google Sheet (where I keep all vendor information) to easily adapt them for different vendors.
My main question is: How can I dynamically import the prompts from the sheet into the workflow and execute the associated Make function? Is it possible to bring a function dynamically and have it run from the workflow?
Any insights or guidance would be greatly appreciated!
Thank you!
Images to clarify. This is what I had:
This is what I’m trying and is not working:
Function is not being executed, I only get the text