Guys I need your quick advice, if I may:
I’ve built an email generator for my client’s users.
They fill out a form about who they are about to email and we generate hyper personalized email body for them. (using OpenAI)
We are about to add “bulk upload’ feature. User will upload a file and we’ll generate emails for each row.
I’m thinking of the following structure:
-
Upload a file
. -
Save each row
as a separate thing Email_Empty in the DB. Anddelete the actual file
. - Run a backend workflow that will initiate the API call to
generate email for each
thing in the DB. (recursive 1 by 1). Recursivelycreate a thing Email_Generated
. And recursivelydelete Email_Empty
- Once the emails are generated I’ll allow the user to
export the list as CSV
. And recursivelydelete Email_Full
as well.
QUESTIONS:
- Can I upload a file using Backend Workflows? I’d to pass the file to BW and then initiate the Upload Action in there…
- Would you implement the email generation the way I’ve described in the 3rd step or is there a better way of doing it?