Automation library · Chat assistants

Automate consent dispute handling with OpenAI

Started by another system calling it, and works across Gmail, Google Sheets and Slack. It hands the judgement calls to Azure OpenAI. 12 steps, 1 branch: a working afternoon to understand properly.

MediumCalls a model: Azure OpenAI

12 stepsMedium: a working afternoon
1Branch: places the flow splits
0Loops or waits
3Services it connects to

The flow

Starts it 1Model 4Logic 3Service 4

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

  1. 1Receive Consent ComplaintWebhookStarts it
  2. 2Configure GPT-4o – Email GeneratorLm Chat Azure Open AiModel
  3. 3Configure GPT-4o – Slack Summary ModelLm Chat Azure Open AiModel
  4. 4Check Required FieldsIfLogic
  5. 5Generate Acknowledgement EmailAgentModel
  6. 6Generate Slack Incident SummaryAgentModel
  7. 7Clean & Normalize Complaint DataCodeLogic
  8. 8Log Invalid Complaint Records to Google SheetsGoogle SheetsService
  9. 9Extract Email Subject + BodyCodeLogic
  10. 10Slack – Notify Compliance TeamSlackService
  11. 11Store Complaint Ticket in Consent Dispute SheetGoogle SheetsService
  12. 12Send Acknowledgement Email to UserGmailService

How it's built

Starts on
Another system calling it
Steps
12, with 1 branch
Size
Medium: a working afternoon
Connects to
Gmail, Google Sheets, Slack
Model
Azure OpenAI

Questions

What does it need to run?

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

What starts it?

It starts on another system calling it.

Does it use AI?

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

How long does it take to set up?

Plan an afternoon. 12 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 12 steps before you point it at anything that matters.