capitalpun
Member
I'm attempting to create a HARO workflow. I honestly can't get past doing the initial split for the parsed email body text. I want to iterate from each result using a for loop so that I can have this workflow work consistently. Extremely new to this, haven't coded anything in a long time either. Please help me by telling me the right way to tackle this on this platform.
Pseudo Code
Input:
Haro Email Comes In
Process:
Text Format Split Parse Email
Import each result to it's own row in a Excel Spreadsheet with Title, Name, Category, Email, Media Outlet, Query, Deadline for Headers
Iterate Through Each Row Send Information to ChatGPT
Assign it a relevancy score add the score to the appropriate row
If score is above a certain threshold
Output:
Create an email response
Send email
Pseudo Code
Input:
Haro Email Comes In
Process:
Text Format Split Parse Email
Import each result to it's own row in a Excel Spreadsheet with Title, Name, Category, Email, Media Outlet, Query, Deadline for Headers
Iterate Through Each Row Send Information to ChatGPT
Assign it a relevancy score add the score to the appropriate row
If score is above a certain threshold
Output:
Create an email response
Send email