Automation library · Chat assistants

Triage Typeform survey feedback with OpenAI and Slack

Started by someone submitting a form, and works across Gmail, Google Sheets and Slack. It hands the judgement calls to OpenAI. 20 steps, 2 branches: a working afternoon to understand properly.

MediumCalls a model: OpenAI

20 stepsMedium: a working afternoon
2Branches: places the flow splits
0Loops or waits
3Services it connects to

The flow

Starts it 1Model 4Logic 9Service 6

The steps in the order they run, from what starts it.

  1. 1When New Survey Response ArrivesTypeform triggerStarts it
  2. 2Set Workflow ConfigurationsSetLogic
  3. 3Extract Survey FieldsCodeLogic
  4. 4AI Sentiment ClassificationOpen AiModel
  5. 5Remove Markdown FormattingCodeLogic
  6. 6If Sentiment is NegativeIfLogic
  7. 7AI Draft Empathetic ReplyOpen AiModel
  8. 8AI Draft Thank-You ReplyOpen AiModel
  9. 9Cleanse Email MarkdownCodeLogic
  10. 10Remove Markdown from ThanksCodeLogic
  11. 11Post Alert to SlackSlackService
  12. 12Send and Await Slack MessageSlackService
  13. 13Send Thank-You via GmailGmailService
  14. 14Append Positive to CRMGoogle SheetsService
  15. 15If Email Gets ApprovalIfLogic
  16. 16Finalize Email DraftCodeLogic
  17. 17AI Refine Email DraftOpen AiModel
  18. 18Send Email via GmailGmailService
  19. 19Append Negative to CRMGoogle SheetsService
  20. 20Prepare Revised Email DraftCodeLogic

How it's built

Starts on
Someone submitting a form
Steps
20, with 2 branches
Size
Medium: a working afternoon
Connects to
Gmail, Google Sheets, Slack
Model
OpenAI

Questions

What does it need to run?

An n8n account, plus your own Gmail, Google Sheets and Slack accounts, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on someone submitting a form.

Does it use AI?

Yes. It calls OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 20 steps is enough that you should read each one before running it.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

Before you run it

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 20 steps before you point it at anything that matters.