Parenting Questions AI Agent Workflow
Workflow for an agent that answers parenting questions by email with upload to Google Drive
About This Project
This project is an n8n workflow that automates the handling of parenting questions submitted through a Tally.so web form. A webhook receives each submission, a code node extracts the question and selected recipients, and an AI agent generates a structured response. The agent uses Claude Sonnet 4 via OpenRouter as its primary model and Google Gemini 2.0 Flash as an alternative, with a structured output parser enforcing a consistent JSON schema. The resulting HTML is converted to an A4 PDF through the PDFShift API, uploaded to Google Drive, and delivered to recipients through Gmail as a branded HTML email containing a link to the file.
The workflow combines several integrations: n8n for orchestration, OpenRouter and Google AI for language model access, PDFShift for document generation, Google Drive and Gmail APIs for storage and delivery, and Tally.so for intake. The repository includes a workflow configuration file, a customizable email template with inline CSS, and documentation covering the required credentials, form field structure, and webhook setup. The system prompt in the AI Agent node, the PDF parameters, and the email design are all described as adjustable.
The project may be of interest to developers building AI agent pipelines or document-generation automations in n8n, and to those who want an example of chaining multiple language models with structured output, PDF rendering, and email delivery. It is also relevant to anyone exploring how to adapt a domain-specific advisory assistant, such as one configured for parents in a particular region, to a form-based intake process.