# Diagnose EV charger faults and trigger refunds with OpenAI: n8n workflow

> Started by a clock, and works across Telegram and n8n data table. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/diagnose-ev-charger-faults-and-trigger-refunds-with-openai (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Customer support](https://millionrounds.com/workflows?category=Customer+support#library)

# Diagnose EV charger faults and trigger refunds with OpenAI

Started by a clock, and works across Telegram and n8n data table. It hands the judgement calls to OpenAI. 16 steps, 2 branches: a working afternoon to understand properly.

Medium Calls a model: OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fdiagnose-ev-charger-faults-and-trigger-refunds-with-openai)

**16 steps** Medium: a working afternoon

**2** Branches: places the flow splits

**0** Loops or waits

**2** Services it connects to

## The flow

Starts it 1 Model 2 Logic 6 Service 7

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

- 1 **Poll Station Status Every 15 Min** Schedule trigger *Starts it*
- 2 **GPT-4o Mini Diagnosis Model** Lm Chat Open Ai *Model*
- 3 **Fault Code Reference Lookup** Http Request Tool *Service*
- 4 **Fetch Current Station Status** Http Request *Service*
- 5 **Read Prior Station State** Data Table *Service*
- 6 **Diagnose Fault & Recommend Action** Agent *Model*
- 7 **Combine Current & Prior State** Merge *Logic*
- 8 **Tag Diagnosed Fault** Set *Logic*
- 9 **Diff Station States & Detect New Faults** Code *Logic*
- 10 **Active Session Affected** If *Logic*
- 11 **Consolidate Station Outcomes** Merge *Logic*
- 12 **New Fault Detected** If *Logic*
- 13 **Trigger Driver Refund via Payment API** Http Request *Service*
- 14 **Alert Technician Fault Only** Telegram *Service*
- 15 **Persist Station Baseline** Data Table *Service*
- 16 **Alert Technician Refund Issued** Telegram *Service*

## How it's built

- **Starts on:** A clock
- **Steps:** 16, with 2 branches
- **Size:** Medium: a working afternoon
- **Connects to:** Telegram, n8n data table
- **Model:** OpenAI

## Questions

What does it need to run?

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

What starts it?

It starts on a clock.

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. 16 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 16 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fdiagnose-ev-charger-faults-and-trigger-refunds-with-openai)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Telegram](https://millionrounds.com/workflows?service=Telegram#library)[n8n data table](https://millionrounds.com/workflows?service=n8n+data+table#library)

## Workflows like it

Also customer support, with the same services where possible, closest in size first.

- [**Debounce Telegram support messages and aggregate replies** 16 steps · calls a model · Postgres, Telegram](https://millionrounds.com/workflow/debounce-telegram-support-messages-and-aggregate-replies)
- [**Automate IT support with Telegram and Whisper** 15 steps · calls a model · Google Drive, Jira](https://millionrounds.com/workflow/automate-it-support-with-telegram-and-whisper)
- [**Draft customer support email replies with Gmail** 17 steps · calls a model · Gmail, Google Drive](https://millionrounds.com/workflow/draft-customer-support-email-replies-with-gmail)
- [**Extract & approve tasks from Telegram to Notion with Gemini** 15 steps · calls a model · Notion, Telegram](https://millionrounds.com/workflow/extract-and-approve-tasks-from-telegram-to-notion-with-gemin)
- [**Route WhatsApp support requests with Groq and Google Sheets** 15 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/route-whatsapp-support-requests-with-groq-and-google-sheets)
- [**Airbnb Telegram agent - AI-powered accommodation search** 14 steps · calls a model · Telegram](https://millionrounds.com/workflow/airbnb-telegram-agent-ai-powered-accommodation-search)
