Sales & Estimation
Automatic Upwork Proposals | Mermaid
This n8n workflow operates as a sub-workflow, triggered by another automation. It processes an Upwork job description using an AI Agent, which uses OpenRouter and references Mermaid syntax documentation from Google Docs. The workflow's core purpose is to generate a Mermaid…
Built · ~4.5 hours saved per week
AI-Powered Project Plan Visualizer
This workflow functions as an intelligent sub-workflow that automates the creation of a visual project plan. It receives a text-based project description (like an Upwork job post) and uses an AI Agent to transform it into a flowchart diagram using Mermaid.js syntax. The final output is a clean, ready-to-use code snippet that can be rendered into a professional-looking diagram for inclusion in proposals or project kick-offs.
Technologies & Concepts Used
- n8n: The automation platform hosting and executing the workflow. - Sub-workflow / Executable Workflow: The workflow is designed to be triggered by another, parent workflow, making it a reusable, modular component. - AI Agent (LangChain): A sophisticated AI node that can use tools and a language model to perform complex tasks. - OpenRouter: A service used to access various large language models (LLMs), in this case, an OpenAI model (o3-mini). - Google Docs: Used as an external knowledge base (a "tool") for the AI Agent, providing it with reference documentation on Mermaid syntax. - Mermaid.js: An open-source, Javascript-based diagramming and charting tool that uses text and code to render diagrams.
How AI is Integrated
The core of this workflow is the AI Agent node, which represents an advanced application of AI. Instead of a simple one-off prompt, the AI is configured as an autonomous agent with a specific goal, persona, and set of tools.
1. Persona & Goal: The AI is instructed to act as an expert "Mermaid.js code writer." Its primary task is to interpret a project description and outline the necessary execution steps as a flowchart. 2. Tool-Use: The agent is given two critical tools to ensure a high-quality output: - Language Model (OpenRouter): This provides the reasoning and language generation capabilities. - Knowledge Base (Google Docs): The agent is connected to a Google Doc containing Mermaid syntax rules. This allows the AI to reference documentation "on-the-fly" to ensure the code it generates is valid and accurate, significantly reducing errors. 3.
Tags: Marketing, AI Automation, Subflow, OpenAI
Integrations: OpenAI, AI Agent, Google Docs