Automated customer onboarding and invoicing pipeline for a small business consulting firm. Replaces manual data entry, document generation, scheduling, and invoicing with an end-to-end workflow powered by N8N, Airtable, and OpenAI.
A new client fills out a Google Form → the system automatically:
- Creates/updates their record in Airtable
- Runs AI-powered needs analysis (package suggestion, personalized welcome)
- Generates and sends a welcome email with a Calendly scheduling link
- On booking — logs the consultation, generates a PDF invoice, uploads it to Google Drive, and emails it to the client
Zero manual steps. Full error handling with admin alerts on failure.
Trigger: New Google Form submission
Output: AI-enriched client record in Airtable + personalized welcome email with scheduling link
Fallback: If AI fails → generic welcome + admin alert
Trigger: Client books a Calendly slot
Output: Consultation logged, PDF invoice generated (ConvertAPI), archived in Google Drive, emailed to client
Edge case: Unknown client → redirect email with form link
| Layer | Tools |
|---|---|
| Orchestration | N8N (self-hosted) |
| Database | Airtable (3 tables: Klienci, Konsultacje, Faktury) |
| AI | OpenAI GPT — structured JSON output with fallback path |
| Scheduling | Calendly (OAuth2 webhook) |
| PDF Generation | ConvertAPI (HTML → PDF) |
| Storage | Google Drive |
| Gmail (OAuth2) |
- Import the N8N workflow JSON files into your instance
- Set up credentials (Google OAuth2, Airtable, Calendly, OpenAI, ConvertAPI) — see docs/setup.md
- Duplicate the Airtable base template or create tables manually per the schema in docs/documentation.md
- Connect your Google Form to the trigger sheet
- Done — new submissions flow through automatically
Full technical documentation (process analysis, database schema, workflow logic, AI prompts, configuration guide) lives in:
├── README.md
├── docs/
│ ├── documentation.md # Full technical documentation
└── workflows/
├── client-onboarding.json
├── invoicing.json
└── error-handler.json
Bartosz Błażewicz — blazewicz.dev