{
  "name": "Upwork proposal automation",
  "nodes": [
    {
      "parameters": {
        "public": true,
        "initialMessages": "Hi there! 👋\nMy name is Tarun. Share your Upwork JD, So I can create proposal for you. ",
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "typeVersion": 1.1,
      "position": [
        880,
        80
      ],
      "id": "acf42608-1dd7-40fd-9bb9-bfe086c79a98",
      "name": "When chat message received",
      "webhookId": "89921f10-c333-4854-977f-57d621cb6350"
    },
    {
      "parameters": {
        "options": {
          "systemMessage": "You're a helpful, intelligent Upwork assistant. Your task is to receive an Upwork job description and then use it to generate assets, like Mermaid diagrams, Google Docs, and Upwork application bodies. \n\nWhen you receive an Upwork job description, you *must* generate a Mermaid diagram, a Google Doc proposal, and an Upwork application. You must then replace the $$$ with the Google Doc proposal link.\n\nOutput the Google Doc proposal link in plaintext, like link: https://www..."
        }
      },
      "type": "@n8n/n8n-nodes-langchain.agent",
      "typeVersion": 1.7,
      "position": [
        1104,
        80
      ],
      "id": "9d6831dc-8f84-481c-86fb-397c53390b3c",
      "name": "AI Agent"
    },
    {
      "parameters": {
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "typeVersion": 1,
      "position": [
        784,
        368
      ],
      "id": "33ce8cfa-807b-4a34-b8fb-6cdfb34581a8",
      "name": "OpenAI Chat Model"
    },
    {
      "parameters": {
        "contextWindowLength": 10
      },
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "typeVersion": 1.2,
      "position": [
        944,
        368
      ],
      "id": "22a10233-9d7c-465c-b32c-0ba0b96de8b1",
      "name": "Window Buffer Memory"
    },
    {
      "parameters": {
        "name": "generate_upwork_application_copy",
        "description": "Call this tool to generate Upwork application copy. The input will be an Upwork job description, and the output will be the Upwork application copy string from the tool.",
        "workflowId": {
          "__rl": true,
          "value": "PjqPCaZjwBhspQBd",
          "mode": "list",
          "cachedResultName": "3. Generate application copy"
        }
      },
      "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "typeVersion": 1.2,
      "position": [
        1504,
        352
      ],
      "id": "85c4ee48-45b5-4027-b860-b1db3cf4e8ad",
      "name": "Generate Application Copy"
    },
    {
      "parameters": {
        "name": "generate_google_doc_proposal",
        "description": "Call this tool to generate a Google Doc proposal for an Upwork job. The input should be a string of an Upwork job post, and the output will be a proposal URL that you can use to fill in templates.",
        "workflowId": {
          "__rl": true,
          "value": "nE5M7mX6lsU90H31",
          "mode": "list",
          "cachedResultName": "2. Generate Google Doc Proposal"
        },
        "responsePropertyName": "urlOfProposal"
      },
      "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "typeVersion": 1.2,
      "position": [
        1312,
        352
      ],
      "id": "7da5c5f2-bc39-45f0-be1a-73b51fce164e",
      "name": "Generate Google Doc Proposal"
    },
    {
      "parameters": {
        "name": "generate_mermaid_diagram",
        "description": "Call this tool to generate Mermaid.js diagram code. The input will be an Upwork job description, and the output will be the mermaid diagram code.",
        "workflowId": {
          "__rl": true,
          "value": "Ea93jDuX5yqhBCse",
          "mode": "list",
          "cachedResultName": "1. Generate Mermaid Code"
        },
        "responsePropertyName": "mermaidCode"
      },
      "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "typeVersion": 1.2,
      "position": [
        1120,
        368
      ],
      "id": "30cea650-5e18-46d3-b1d7-ae2d2b653864",
      "name": "Generate Mermaid.js"
    },
    {
      "parameters": {
        "content": "## Main flow\n**This handles otherwork flow. ",
        "height": 640,
        "width": 1520
      },
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        240,
        -96
      ],
      "typeVersion": 1,
      "id": "c9f66e06-9c6e-4aae-9e03-968ac8eb867b",
      "name": "Sticky Note"
    }
  ],
  "pinData": {
    "When chat message received": [
      {
        "json": {
          "action": "sendMessage",
          "sessionId": "551299f9-63a2-440c-9b60-77dde638e9c3",
          "chatInput": "We are seeking somebody who is skilled in Web Automation or Selenium. This will be for a short one time project.\n\nThe process would be like this\n\n- Enter \"file.txt\" into a command prompt.\n- File is broken down into chunks of \"x\" amount of characters. ( i already have the program that does this. I just need this process to be automated)\n- Chunks are uploaded into fish.audio in order (via browser, not API. I believe the API is paid)\n- Chunks are turned into a voiceover/mp3 file and downloaded in order\n- Voiceover files are combined/merged and output into a folder\n\nDo NOT apply if you're not okay with the price or not confident if completing this."
        }
      }
    ]
  },
  "connections": {
    "When chat message received": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Window Buffer Memory": {
      "ai_memory": [
        [
          {
            "node": "AI Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Generate Application Copy": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Generate Google Doc Proposal": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Generate Mermaid.js": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1",
    "binaryMode": "separate"
  },
  "versionId": "dbe05268-ede8-40c8-b3f8-3cadac474efb",
  "meta": {
    "instanceId": "089cb37bc0c038203eafef0a664452109ceb0f3b0e0cd089e23fc9c7bc17add3"
  },
  "id": "nNMsouMxtuJv3JdR",
  "tags": [
    {
      "updatedAt": "2025-12-13T06:29:14.486Z",
      "createdAt": "2025-12-13T06:29:14.486Z",
      "id": "1Uc41rjV4j9gBrsS",
      "name": "Process"
    }
  ]
}