I am running a workflow that sends out an email as its final output. Is there a way to ensure each email is formatted/designed exactly the same each time I run the automation?
Right now I am using an Ask AI node to reformat the information in pure HTML, but each time I run the automation the email has a slightly different format. I am looking for it to be exactly the same format every time.
You’re on the right track, but you’ll want to use the AskAI node a bit differently here. Instead, take your single HTML block and use that in the prompt, instructing the AI to fill and replace the relevant areas.
This keeps your AI node from coming up with a new template each time and instead has it intelligently replace relevant templated fields in your HTML email
Luis, I think I understand what you mean …
But … I have a combine text node in a flow which will act as the input for the prompt (see screenshot). How would your approach work in that case? As an extra Ask AI node ?
Yes a new AI node can work or you can merge the two combine text nodes using a third combine text node, connect that to the prompt and in the context add the HTML template.