# Generate service quotes with OpenAI and Telegram: n8n workflow

> Started by another system calling it, and works across Gmail and Telegram. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/generate-service-quotes-with-openai-and-telegram (Millionrounds; every figure on the page links to its filing or article)

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

# Generate service quotes with OpenAI and Telegram

Started by another system calling it, and works across Gmail and Telegram. It hands the judgement calls to OpenAI. 26 steps, 5 branches: large, and worth reading before you trust it with anything live.

Large Calls a model: OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fgenerate-service-quotes-with-openai-and-telegram)

**26 steps** Large: read it before trusting it with anything live

**5** Branches: places the flow splits

**0** Loops or waits

**2** Services it connects to

## The flow

Starts it 2 Model 1 Logic 9 Service 14

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

- 1 **Tally Trigger: New Form Submission** Tally trigger *Starts it*
- 2 **Webhook: Alternative Intake** Webhook *Starts it*
- 3 **Map Tally Fields to Schema** Set *Logic*
- 4 **Check Webhook Payload Valid** If *Logic*
- 5 **Classify Request with GPT-4.1-mini** Open Ai *Model*
- 6 **Map Webhook Fields** Set *Logic*
- 7 **Parse Category from AI Response** Code *Logic*
- 8 **Route by Request Category** Switch *Logic*
- 9 **Set Quote Variables (EFH/MFH)** Set *Logic*
- 10 **Telegram: Notify Management** Telegram *Service*
- 11 **Telegram: Emergency Alert** Telegram *Service*
- 12 **Telegram: On-Site Appointment Request** Telegram *Service*
- 13 **Telegram: Special Request** Telegram *Service*
- 14 **Route by Building Type (EFH vs MFH)** Switch *Logic*
- 15 **Gmail: Forward to Management** Gmail *Service*
- 16 **Gmail: Emergency Notification** Gmail *Service*
- 17 **Gmail: On-Site Appointment Notification** Gmail *Service*
- 18 **Gmail: Special Request Notification** Gmail *Service*
- 19 **Generate Quote PDF: Multi-Family Home** Pdf Monkey *Service*
- 20 **Generate Quote PDF: Single-Family Home** Pdf Monkey *Service*
- 21 **Telegram: Approval Request MFH** Telegram *Service*
- 22 **Telegram: Approval Request EFH** Telegram *Service*
- 23 **If Approval Approved MFH** If *Logic*
- 24 **If Approval Approved EFH** If *Logic*
- 25 **Gmail: Send Approved Quote MFH** Gmail *Service*
- 26 **Gmail: Send Approved Quote EFH** Gmail *Service*

## How it's built

- **Starts on:** Another system calling it
- **Steps:** 26, with 5 branches
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Gmail, Telegram
- **Model:** OpenAI

## Questions

What does it need to run?

An n8n account, plus your own Gmail and Telegram accounts, and a key for 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 OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 26 steps it is large: read it before trusting it with anything live.

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 26 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%2Fgenerate-service-quotes-with-openai-and-telegram)
- **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.

[Gmail](https://millionrounds.com/workflows?service=Gmail#library)[Telegram](https://millionrounds.com/workflows?service=Telegram#library)

## Workflows like it

Also money admin, with the same services where possible, closest in size first.

- [**Send donor thank-you receipts and weekly digests** 26 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/send-donor-thank-you-receipts-and-weekly-digests)
- [**Process e-commerce orders with Gmail and Slack** 26 steps · Gmail, Slack](https://millionrounds.com/workflow/process-e-commerce-orders-with-gmail-and-slack)
- [**Turn agency timesheets into invoices and alerts with Odoo** 26 steps · Gmail, Slack](https://millionrounds.com/workflow/turn-agency-timesheets-into-invoices-and-alerts-with-odoo)
- [**Automated invoice processing with Telegram and OpenAI** 27 steps · calls a model · Google Sheets, Telegram](https://millionrounds.com/workflow/automated-invoice-processing-with-telegram-and-openai)
- [**Automated template delivery system with Stripe and Gmail** 25 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/automated-template-delivery-system-with-stripe-and-gmail)
- [**Create AI proposals from Fireflies transcripts with OpenAI** 25 steps · calls a model · Gmail, Google Docs](https://millionrounds.com/workflow/create-ai-proposals-from-fireflies-transcripts-with-openai)
