Skip to content

Dignifi

This web app uses AI to simplify the birth certificate fee waiver process, offering three ways to fill out the form: a conversational chat, a plain text description, or a traditional form.

Core trick

GPT-5 extracts form fields from free-text input and posts the validated JSON to an n8n webhook.

Tags

Description

This web app uses AI to simplify the birth certificate fee waiver process, offering three ways to fill out the form: a conversational chat, a plain text description, or a traditional form. The AI can extract required details from natural language, guide users step-by-step, and validate data in real time. Integrated with n8n workflows, it provides instant feedback and seamless submission. Built with Python (Flask), HTML, CSS, and JavaScript, it’s designed for accessibility and ease of use, especially for users with low technical literacy, and can be adapted for other government forms.
t6chow/birth_cert_fee_waiver★ 00 forksPythonCreated Aug 10, 2025 · last push Aug 10, 2025

README excerpt

# 🤖 Dignifi Form Webhook Agent

An intelligent agent that uses OpenAI GPT-5 to collect form data and send it to your n8n workflow via webhook.

## 🎯 Features

- **AI-Powered Data Extraction**: Uses OpenAI GPT-5 to intelligently extract form data from natural language input
- **Webhook Integration**: Sends collected data to your n8n workflow at `https://dignifi.app.n8n.cloud/webhook-test/fill_forms`
- **Multiple Interfaces**: Web interface (Streamlit) and command-line interface
- **Smart Validation**: Ensures data integrity and handles conditional fields
- **Real-time Processing**: Instant feedback and webhook testing capabilities

## 📋 Required Form Fields

The agent collects the following information:

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `name_of_requestor` | string | ✅ | Name of the person making the request |
| `homeless` | y/n | ✅ | Whether the person is homeless |
| `request_on_behalf` | y/n | ✅ | Whether the request is being made on behalf of someone else |
| `name_of_child` | string | Conditional | Child's name (only if `request_on_behalf` is 'y') |

## 🚀 Quick Start

### 1. Install Dependencies

```bash
pip install -r requirements.txt
```

### 2. Set Up Environment Variables

Create a `.env` file in the project root:

```bash
# OpenAI API Configuration
OPENAI_API_KEY=your_openai_api_key_here

# N8N Webhook Configuration (optional - defaults to the provided URL)
N8N_WEBHOOK_URL=https://dignifi.app.n8n.cloud/webhook-test

Team