Quick overview
This workflow collects prospect and project details via an n8n form, uses OpenAI to generate proposal copy variables, copies a Google Slides proposal template from Google Drive, and replaces placeholders in the new deck to produce a personalized proposal saved in your Drive.
How it works
- Receives proposal inputs from an n8n form submission (contact details, problem, solution, scope, cost, and timeline).
- Sends the form data to OpenAI to generate a single JSON object of proposal text variables (titles, summaries, scope items, and milestones).
- Copies a predefined Google Slides proposal template file in Google Drive and names the copy using the generated proposal title.
- Calculates a half-upfront cost value by dividing the submitted cost by two.
- Uses the Google Slides API to replace placeholder tokens in the copied presentation with the generated copy, contact details, milestone labels, and the calculated cost split.
Setup
- Add an OpenAI credential and select the model used in the OpenAI step.
- Add Google Drive OAuth2 credentials and set the template file ID to the Google Slides deck you want to copy.
- Add Google Slides OAuth2 credentials with access to the same Drive and ensure your template contains the placeholders used for text replacement (for example, {{proposalTitle}}, {{cost}}, and {{firstName}}).
- Publish the n8n form and share its URL with whoever needs to submit proposal details.