AI SDR Agent - Inbound Sales on Autopilot (2)

    Stop Losing Deals to Slow Response Times This isn't a chatbot. It's a complete AI SDR system that reads every inbound email, understands context, qualifies leads, and books meetings while you sleep X - https://x.com/_niihhhall Guide - https://docs.google.com/document/d/1CfZ4v52xhzgIG9v1fnCK_aHX2F_enwdxl98RSg-iDLo/edit?usp=sharing

    Shared 12/23/2025

    24 views

    Visual Workflow

    JSON Code

    {
      "id": "WS2pNLsV5NfXTQxo",
      "meta": {
        "instanceId": "a0592986a68c3371a15cb0e914712f6ead78763515395536dd982e61fe8e98fa"
      },
      "name": "SDR Agent - 2",
      "tags": [],
      "nodes": [
        {
          "id": "d3bdf792-b661-4d59-afef-b3877678b0e9",
          "name": "Gmail Trigger",
          "type": "n8n-nodes-base.gmailTrigger",
          "position": [
            -3840,
            448
          ],
          "parameters": {
            "filters": {
              "q": "NOT from:liam@promptible.io",
              "labelIds": [
                "Label_6404049094877547716"
              ]
            },
            "pollTimes": {
              "item": [
                {
                  "mode": "everyMinute"
                }
              ]
            }
          },
          "typeVersion": 1.2
        },
        {
          "id": "f9fa475b-6610-4d6e-951b-b58d18ab7030",
          "name": "Google Calendar2",
          "type": "n8n-nodes-base.googleCalendar",
          "position": [
            -3120,
            448
          ],
          "parameters": {
            "limit": 10,
            "options": {
              "query": "={{ $('Gmail Trigger').item.json.From }}"
            },
            "timeMax": "={{ $now.plus({ week: 3 }) }}",
            "calendar": {
              "__rl": true,
              "mode": "list",
              "value": "liam@promptible.io",
              "cachedResultName": "liam@promptible.io"
            },
            "operation": "getAll"
          },
          "typeVersion": 1.3
        },
        {
          "id": "e0d6ccee-4cb7-4e67-adc3-8611a6aa0339",
          "name": "Airtable",
          "type": "n8n-nodes-base.airtable",
          "position": [
            -3376,
            448
          ],
          "parameters": {
            "base": {
              "__rl": true,
              "mode": "list",
              "value": "appYfXxaBJyKtjjVd",
              "cachedResultUrl": "https://airtable.com/appYfXxaBJyKtjjVd",
              "cachedResultName": "S2L"
            },
            "table": {
              "__rl": true,
              "mode": "list",
              "value": "tblF6KBJba9WFW4if",
              "cachedResultUrl": "https://airtable.com/appYfXxaBJyKtjjVd/tblF6KBJba9WFW4if",
              "cachedResultName": "Table 1"
            },
            "options": {},
            "operation": "search",
            "filterByFormula": "={email} = \"liam8181@icloud.com\""
          },
          "typeVersion": 2.1
        },
        {
          "id": "08c9c020-6a1b-4166-9586-93850b1d53fa",
          "name": "Basic LLM Chain",
          "type": "@n8n/n8n-nodes-langchain.chainLlm",
          "position": [
            -2688,
            448
          ],
          "parameters": {
            "text": "=Details:\n\nName: {{ $json.summary }}\nAttendees: {{ $json.attendees.map((a, i) => `call ${i+1}: ${JSON.stringify(a, null, 2)}`).join(\"\\n\") }}\nStart: {{ ($json.start || []).map((s, i) => `Time ${i+1}: ${s.dateTime || s.date}`).join(\" | \") }}\nEnd: {{ ($json.end || []).map((e, i) => `Time ${i+1}: ${e.dateTime || e.date}`).join(\" | \") }}\n",
            "messages": {
              "messageValues": [
                {
                  "message": "=You will decipher whether or not there are any meetings with a lead. \n\nYou will be passed a bunch of information about the meeting such as name, attendees, start date, and end date. \n\nIf there is a meeting and you see values for these please output true and if theres nothing then please output false\n\n**ONLY OUTPUT true OR false**"
                }
              ]
            },
            "promptType": "define"
          },
          "typeVersion": 1.6
        },
        {
          "id": "99621478-5f88-4ea2-8024-bfb188fd6527",
          "name": "If",
          "type": "n8n-nodes-base.if",
          "position": [
            -2208,
            448
          ],
          "parameters": {
            "options": {},
            "conditions": {
              "options": {
                "version": 2,
                "leftValue": "",
                "caseSensitive": true,
                "typeValidation": "strict"
              },
              "combinator": "and",
              "conditions": [
                {
                  "id": "cf6d897a-3a30-4d37-8ba5-3900ef01b87c",
                  "operator": {
                    "type": "string",
                    "operation": "notEquals"
                  },
                  "leftValue": "={{ $json.text }}",
                  "rightValue": "true"
                }
              ]
            }
          },
          "typeVersion": 2.2
        },
        {
          "id": "cbbce0ed-ea14-45bc-a68c-acbf65489b7a",
          "name": "Airtable1",
          "type": "n8n-nodes-base.airtable",
          "position": [
            -1936,
            160
          ],
          "parameters": {
            "base": {
              "__rl": true,
              "mode": "list",
              "value": "appYfXxaBJyKtjjVd",
              "cachedResultUrl": "https://airtable.com/appYfXxaBJyKtjjVd",
              "cachedResultName": "S2L"
            },
            "table": {
              "__rl": true,
              "mode": "list",
              "value": "tblF6KBJba9WFW4if",
              "cachedResultUrl": "https://airtable.com/appYfXxaBJyKtjjVd/tblF6KBJba9WFW4if",
              "cachedResultName": "Table 1"
            },
            "columns": {
              "value": {
                "id": "={{ $('Airtable').item.json.id }}",
                "Complete": true
              },
              "schema": [
                {
                  "id": "id",
                  "type": "string",
                  "display": true,
                  "removed": false,
                  "readOnly": true,
                  "required": false,
                  "displayName": "id",
                  "defaultMatch": true
                },
                {
                  "id": "Email",
                  "type": "string",
                  "display": true,
                  "removed": false,
                  "readOnly": false,
                  "required": false,
                  "displayName": "Email",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "Lead Description",
                  "type": "string",
                  "display": true,
                  "removed": false,
                  "readOnly": false,
                  "required": false,
                  "displayName": "Lead Description",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "Email Chain",
                  "type": "string",
                  "display": true,
                  "removed": false,
                  "readOnly": false,
                  "required": false,
                  "displayName": "Email Chain",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "Status",
                  "type": "options",
                  "display": true,
                  "options": [
                    {
                      "name": "email 1",
                      "value": "email 1"
                    },
                    {
                      "name": "email 2",
                      "value": "email 2"
                    },
                    {
                      "name": "email 3",
                      "value": "email 3"
                    },
                    {
                      "name": "email 4",
                      "value": "email 4"
                    },
                    {
                      "name": "email answered",
                      "value": "email answered"
                    }
                  ],
                  "removed": false,
                  "readOnly": false,
                  "required": false,
                  "displayName": "Status",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "Complete",
                  "type": "boolean",
                  "display": true,
                  "removed": false,
                  "readOnly": false,
                  "required": false,
                  "displayName": "Complete",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "Thread ID",
                  "type": "string",
                  "display": true,
                  "removed": false,
                  "readOnly": false,
                  "required": false,
                  "displayName": "Thread ID",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                }
              ],
              "mappingMode": "defineBelow",
              "matchingColumns": [
                "id"
              ],
              "attemptToConvertTypes": false,
              "convertFieldsToString": false
            },
            "options": {},
            "operation": "update"
          },
          "typeVersion": 2.1
        },
        {
          "id": "9f4d112e-228f-43ba-a177-bf2c895457a0",
          "name": "Gmail",
          "type": "n8n-nodes-base.gmail",
          "position": [
            -1680,
            160
          ],
          "webhookId": "80448636-dee0-469a-9986-b644519d4d48",
          "parameters": {
            "labelIds": [
              "Label_6404049094877547716"
            ],
            "resource": "thread",
            "threadId": "={{ $('Gmail2').item.json.threadId }}",
            "operation": "removeLabels"
          },
          "typeVersion": 2.1
        },
        {
          "id": "2245d2b8-8f85-4e7e-a45f-51393516207f",
          "name": "Gmail1",
          "type": "n8n-nodes-base.gmail",
          "position": [
            480,
            0
          ],
          "webhookId": "c5febe8e-a1f1-4c2a-b9d2-069f84e2a340",
          "parameters": {
            "message": "hiu",
            "options": {},
            "resource": "thread",
            "threadId": "={{ $('Gmail2').item.json.threadId }}",
            "messageId": "={{ $('Gmail2').item.json.id }}",
            "operation": "reply"
          },
          "typeVersion": 2.1
        },
        {
          "id": "35673cdf-5ac6-4e94-ac23-abe995b2a90a",
          "name": "Gmail2",
          "type": "n8n-nodes-base.gmail",
          "position": [
            -3616,
            448
          ],
          "webhookId": "40a2b4b1-9362-4245-9a5c-86f61e0b87da",
          "parameters": {
            "simple": false,
            "options": {},
            "messageId": "={{ $json.id }}",
            "operation": "get"
          },
          "typeVersion": 2.1
        },
        {
          "id": "1eb1fdb0-56b9-489c-b31e-43558ea760ad",
          "name": "Aggregate",
          "type": "n8n-nodes-base.aggregate",
          "position": [
            -2896,
            448
          ],
          "parameters": {
            "options": {},
            "fieldsToAggregate": {
              "fieldToAggregate": [
                {
                  "fieldToAggregate": "summary"
                },
                {
                  "fieldToAggregate": "attendees"
                },
                {
                  "fieldToAggregate": "start"
                },
                {
                  "fieldToAggregate": "end"
                }
              ]
            }
          },
          "typeVersion": 1
        },
        {
          "id": "bddf111a-11da-43ae-9fc2-44d61136c788",
          "name": "OpenAI Chat Model",
          "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
          "position": [
            -2768,
            592
          ],
          "parameters": {
            "model": {
              "__rl": true,
              "mode": "list",
              "value": "gpt-4o",
              "cachedResultName": "gpt-4o"
            },
            "options": {}
          },
          "typeVersion": 1.2
        },
        {
          "id": "19b75f0c-f1bd-48f4-b19e-a5161c7d570d",
          "name": "OpenAI Chat Model1",
          "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
          "position": [
            -2000,
            688
          ],
          "parameters": {
            "model": {
              "__rl": true,
              "mode": "list",
              "value": "gpt-4o",
              "cachedResultName": "gpt-4o"
            },
            "options": {}
          },
          "typeVersion": 1.2
        },
        {
          "id": "d9ba9cb4-cf3d-46e8-a1e8-903be71990b6",
          "name": "Switch",
          "type": "n8n-nodes-base.switch",
          "position": [
            -1248,
            400
          ],
          "parameters": {
            "rules": {
              "values": [
                {
                  "outputKey": "pricing",
                  "conditions": {
                    "options": {
                      "version": 2,
                      "leftValue": "",
                      "caseSensitive": true,
                      "typeValidation": "strict"
                    },
                    "combinator": "and",
                    "conditions": [
                      {
                        "id": "3f40cf0c-1fc5-472f-a4f0-7cb8a88bbaf9",
                        "operator": {
                          "type": "string",
                          "operation": "equals"
                        },
                        "leftValue": "={{ $('Master AI Agent').item.json.output }}",
                        "rightValue": "pricing"
                      }
                    ]
                  },
                  "renameOutput": true
                },
                {
                  "outputKey": "question",
                  "conditions": {
                    "options": {
                      "version": 2,
                      "leftValue": "",
                      "caseSensitive": true,
                      "typeValidation": "strict"
                    },
                    "combinator": "and",
                    "conditions": [
                      {
                        "id": "8de69350-7032-4918-bbbf-e13a9de16df7",
                        "operator": {
                          "name": "filter.operator.equals",
                          "type": "string",
                          "operation": "equals"
                        },
                        "leftValue": "={{ $('Master AI Agent').item.json.output }}",
                        "rightValue": "question"
                      }
                    ]
                  },
                  "renameOutput": true
                },
                {
                  "outputKey": "use case",
                  "conditions": {
                    "options": {
                      "version": 2,
                      "leftValue": "",
                      "caseSensitive": true,
                      "typeValidation": "strict"
                    },
                    "combinator": "and",
                    "conditions": [
                      {
                        "id": "a08d1c08-6f2d-46b2-85e1-073cee4acabe",
                        "operator": {
                          "name": "filter.operator.equals",
                          "type": "string",
                          "operation": "equals"
                        },
                        "leftValue": "={{ $('Master AI Agent').item.json.output }}",
                        "rightValue": "use case"
                      }
                    ]
                  },
                  "renameOutput": true
                },
                {
                  "outputKey": "onboarding",
                  "conditions": {
                    "options": {
                      "version": 2,
                      "leftValue": "",
                      "caseSensitive": true,
                      "typeValidation": "strict"
                    },
                    "combinator": "and",
                    "conditions": [
                      {
                        "id": "557ab867-b784-43bd-9e2b-533d363cbccf",
                        "operator": {
                          "name": "filter.operator.equals",
                          "type": "string",
                          "operation": "equals"
                        },
                        "leftValue": "={{ $('Master AI Agent').item.json.output }}",
                        "rightValue": "onboarding"
                      }
                    ]
                  },
                  "renameOutput": true
                },
                {
                  "outputKey": "meeting",
                  "conditions": {
                    "options": {
                      "version": 2,
                      "leftValue": "",
                      "caseSensitive": true,
                      "typeValidation": "strict"
                    },
                    "combinator": "and",
                    "conditions": [
                      {
                        "id": "35eb5a56-9941-4e6c-8794-be146f5c8fe2",
                        "operator": {
                          "name": "filter.operator.equals",
                          "type": "string",
                          "operation": "equals"
                        },
                        "leftValue": "={{ $('Master AI Agent').item.json.output }}",
                        "rightValue": "meeting"
                      }
                    ]
                  },
                  "renameOutput": true
                },
                {
                  "outputKey": "misc",
                  "conditions": {
                    "options": {
                      "version": 2,
                      "leftValue": "",
                      "caseSensitive": true,
                      "typeValidation": "strict"
                    },
                    "combinator": "and",
                    "conditions": [
                      {
                        "id": "3533e68d-a65b-4cc2-9813-6f8c74b3a4f2",
                        "operator": {
                          "name": "filter.operator.equals",
                          "type": "string",
                          "operation": "equals"
                        },
                        "leftValue": "={{ $('Master AI Agent').item.json.output }}",
                        "rightValue": "Miscellaneous"
                      }
                    ]
                  },
                  "renameOutput": true
                },
                {
                  "outputKey": "no answer",
                  "conditions": {
                    "options": {
                      "version": 2,
                      "leftValue": "",
                      "caseSensitive": true,
                      "typeValidation": "strict"
                    },
                    "combinator": "and",
                    "conditions": [
                      {
                        "id": "82bb5434-d2c6-440e-8c10-4b0832a4b012",
                        "operator": {
                          "name": "filter.operator.equals",
                          "type": "string",
                          "operation": "equals"
                        },
                        "leftValue": "={{ $('Master AI Agent').item.json.output }}",
                        "rightValue": "no answer"
                      }
                    ]
                  },
                  "renameOutput": true
                }
              ]
            },
            "options": {}
          },
          "typeVersion": 3.2
        },
        {
          "id": "f1de4393-a5f1-47d9-a56a-2d13046b3640",
          "name": "Gmail3",
          "type": "n8n-nodes-base.gmail",
          "position": [
            480,
            208
          ],
          "webhookId": "c5febe8e-a1f1-4c2a-b9d2-069f84e2a340",
          "parameters": {
            "message": "hi",
            "options": {},
            "resource": "thread",
            "threadId": "={{ $('Gmail2').item.json.threadId }}",
            "messageId": "={{ $('Gmail2').item.json.id }}",
            "operation": "reply"
          },
          "typeVersion": 2.1
        },
        {
          "id": "4e153b20-6339-43d4-8cc7-b52dab598717",
          "name": "Gmail4",
          "type": "n8n-nodes-base.gmail",
          "position": [
            480,
            432
          ],
          "webhookId": "c5febe8e-a1f1-4c2a-b9d2-069f84e2a340",
          "parameters": {
            "message": "={{ $json.text }}",
            "options": {},
            "resource": "thread",
            "threadId": "={{ $('Gmail2').item.json.threadId }}",
            "messageId": "={{ $('Gmail2').item.json.id }}",
            "operation": "reply"
          },
          "typeVersion": 2.1
        },
        {
          "id": "3b67d4b6-0e1f-4aca-b6ab-9ea026d8c9b7",
          "name": "Gmail6",
          "type": "n8n-nodes-base.gmail",
          "position": [
            480,
            624
          ],
          "webhookId": "c5febe8e-a1f1-4c2a-b9d2-069f84e2a340",
          "parameters": {
            "message": "hi",
            "options": {},
            "resource": "thread",
            "threadId": "={{ $('Gmail2').item.json.threadId }}",
            "messageId": "={{ $('Gmail2').item.json.id }}",
            "operation": "reply"
          },
          "typeVersion": 2.1
        },
        {
          "id": "5f4bfb93-bebd-491f-8530-7d4074e032c5",
          "name": "Gmail7",
          "type": "n8n-nodes-base.gmail",
          "position": [
            512,
            1008
          ],
          "webhookId": "c5febe8e-a1f1-4c2a-b9d2-069f84e2a340",
          "parameters": {
            "message": "hi",
            "options": {},
            "resource": "thread",
            "threadId": "={{ $('Gmail2').item.json.threadId }}",
            "messageId": "={{ $('Gmail2').item.json.id }}",
            "operation": "reply"
          },
          "typeVersion": 2.1
        },
        {
          "id": "671a1a4d-d65c-4b92-a334-5d04f758df05",
          "name": "Master AI Agent",
          "type": "@n8n/n8n-nodes-langchain.agent",
          "position": [
            -1936,
            480
          ],
          "parameters": {
            "text": "=Thread history:\n{{ $('Airtable').item.json['Email Chain'] }}\n\nMost recent email: {{ $('Gmail2').item.json.text }}\n\nUse the full email thread above — including the latest message and all past context — to determine the correct AI agent route for this inquiry.\n\nCompany context: Promptible is an AI automation agency that builds custom and productized automations for sales, marketing, and operations teams. Solutions include AI outreach agents, SDR bots, lead gen systems, proposal builders, and support chat workflows — all tailored to B2B.\n\nThe following agents are available:\n\n1. **Pricing** – Use if the message asks about pricing, packages, quotes, or “how much”\n2. **FAQ** – Use if they’re asking what we do, how it works, which tools we use, or general capabilities\n3. **Use Case** – Use if the person is describing a problem or goal related to AI automation (e.g. “I need help qualifying leads with AI”)\n4. **Onboarding** – Use if they’ve booked or are ready to begin, and they’re asking about the next steps, onboarding, or process\n5. **Meeting** – Use if the person is offering a date/time or requesting a call\n6. **Misc** – Use if it’s a real inquiry that doesn’t clearly match the others\n7. **No Answer** – Use if their message is vague, unactionable, irrelevant, or something like “cool”, “ok”, “thanks”",
            "options": {
              "systemMessage": "=You are the master routing agent at Promptible — an AI automation agency that helps businesses streamline sales, marketing, and operations.\n\nYour job is to read the **full email thread** from Airtable, analyze the message context, and decide whether to:\n1. Route the inquiry to one of six specialized AI response agents\n2. Mark it as \"no reply needed\" if the message is meaningless or doesn't warrant a response\n\nYou must ALWAYS:\n- Read the full conversation thread stored in the “Email Thread” field\n- Reference Promptible’s Knowledge Base document for context on tools, automations, and terminology\n- Choose the most appropriate route (from 7 below)\n- Never respond directly — your job is to route only\n\nROUTE OPTIONS:\n1. **Pricing** — If the lead is asking about cost, packages, tiers, or \"how much does this cost\"\n2. **FAQ** — If they ask generic questions like “what do you guys do?”, “can this connect with X?”, “what tools do you use?”, or “how does it work?”\n3. **Use Case** — If the user explains a problem they want to solve with AI (e.g. \"I need help qualifying leads\", \"Can AI do outbound for me?\")\n4. **Onboarding** — If the user already booked or expressed interest and is asking about next steps, project scope, or timelines\n5. **Meeting** — If the user is suggesting a time for a call or asks to “book a meeting,” send to this agent (it will handle scheduling via Google Calendar)\n6. **Misc** — If the message is complex or doesn’t fit cleanly into the others but still deserves a response. This agent will read the thread and craft a thoughtful reply using the knowledge base\n7. **No Answer** — If the reply is vague (e.g. “ok”, “got it”, “cool”), off-topic, or not actionable — mark it as ‘no reply needed’\n\nYour only job is to assign ONE of these agents by returning its name under the key `route`.\n\nRespond only with the route name **in lower case only**\n\nExample: use case\n\nSecond example: Pricing"
            },
            "promptType": "define"
          },
          "typeVersion": 1.9
        },
        {
          "id": "6d27b478-356d-4784-ba77-b2adaa7f807e",
          "name": "Pricing",
          "type": "@n8n/n8n-nodes-langchain.chainLlm",
          "position": [
            0,
            0
          ],
          "parameters": {
            "text": "=Prospect Inquiry: {{ $('Gmail2').item.json.text }}\n\nAll context needed from Promptible knowledge base: {{ $('Google Docs').item.json.content }}\n\nBased on the above inquiry, provide detailed information about Promptible's pricing models that best address the prospect's questions or concerns. Ensure the response is tailored, informative, and encourages further engagement.\n",
            "messages": {
              "messageValues": [
                {
                  "message": "=You are the Pricing Agent at Promptible — an AI automation agency that offers tailored solutions for sales, marketing, and operations teams.\n\nYour role is to provide clear, concise, and friendly information about our pricing models based on the prospect's inquiries. Reference Promptible’s official pricing structures and offerings.\n\nPromptible offers three primary pricing models:\n\n1. **Pre-Built Automation Templates**: Ready-to-use automation solutions priced at **$1,000 USD** each.\n\n2. **Custom Automation Solutions**: Tailored automations developed after a comprehensive audit of the client's business processes. Pricing is determined post-audit to ensure accuracy and fairness.\n\n3. **Internal Automation Specialist Package**: A subscription-based model where Promptible works closely with clients on an ongoing basis:\n   - **1 automation/month**: $2,500 USD\n   - **2 automations/month**: $4,000 USD\n   - **3 automations/month**: $5,500 USD\n\nWhen responding:\n- Match the tone of the prospect's inquiry.\n- Provide relevant pricing information based on their expressed needs.\n- If the inquiry is about custom solutions, explain the necessity of an initial audit before providing a quote.\n- For ongoing collaboration interests, detail the subscription tiers.\n- Encourage further engagement or questions to facilitate the decision-making process.\n\nAlways ensure the information is accurate, up-to-date, and aligns with Promptible's offerings."
                }
              ]
            },
            "promptType": "define"
          },
          "typeVersion": 1.6
        },
        {
          "id": "f6d5d725-42b4-4484-b629-832f6429689d",
          "name": "Question",
          "type": "@n8n/n8n-nodes-langchain.chainLlm",
          "position": [
            -16,
            208
          ],
          "parameters": {
            "text": "=Here’s the most recent message from the prospect:\n\n{{ $('Gmail2').item.json.text }}\n\nAll context needed from Promptible knowledge base: {{ $('Google Docs').item.json.content }}\n\nThey’re asking a general question about what we do, what tools we use, or how this works.\n\nWrite a clear, helpful answer that gives a high-level explanation of Promptible’s services, tools, and real-world examples. Keep it casual and confident — like a helpful founder chatting, not a salesperson.\n\nEnd with a chill, open-ended question to keep the conversation going.\n",
            "messages": {
              "messageValues": [
                {
                  "message": "=You are the FAQ Agent at Promptible — a sharp, friendly AI automation agency that builds automations for sales, marketing, and ops teams using tools like n8n, Make.com, OpenAI, Airtable, and more.\n\nYou’re replying to someone who asked a general question like:  \n- “What do you guys do?”  \n- “How does this work?”  \n- “What tools do you use?”  \n- “Can this integrate with X?”  \n- “What does your system actually look like?”\n\nYour job is to give a clear, helpful, and casual answer that explains what Promptible does — without sounding generic or robotic. Use examples from the real builds in the Promptible automation library (automationlibrary.notion.site) if it helps make things more concrete.\n\nWhat we do:\n- Build custom and productized AI automations for B2B\n- Use tools like GPT-4, Make, n8n, Airtable, Supabase, Google Suite, GHL, Apify, etc.\n- Focus areas: lead gen agents, proposal automations, internal tools, AI SDRs, social content, speed-to-lead, support bots, invoicing, and CRM syncing\n- We always scope things with the client before building — every solution is tailored\n\nTone: smart, founder-style. Don’t overexplain. No fluff. Be straight-up and conversational.  \nEnd with a casual, open-ended question like “Does that sound like something you're exploring?” or “Curious what you're trying to automate right now?”"
                }
              ]
            },
            "promptType": "define"
          },
          "typeVersion": 1.6
        },
        {
          "id": "2c3cc1aa-3590-47ce-bac9-1be592561825",
          "name": "Use Case",
          "type": "@n8n/n8n-nodes-langchain.chainLlm",
          "position": [
            -16,
            432
          ],
          "parameters": {
            "text": "=Here’s the latest message from the prospect:\n\n{{ $('Gmail2').item.json.text }}\n\nAll context needed from Promptible knowledge base: {{ $('Google Docs').item.json.content }}\n\nThey’re describing a problem or idea they’re trying to solve with AI or automation.\n\nWrite a short, helpful reply that explains how Promptible would solve that use case. Reference real tools or automations from the Promptible library that match what they’re asking about.\n\nKeep the tone casual, like you’re chatting as a founder who’s solved this before. End with an open-ended question to continue the convo.\n",
            "messages": {
              "messageValues": [
                {
                  "message": "=You are the Use Case Agent at Promptible — a sharp, chill AI automation agency that builds custom and productized automations for B2B teams across sales, marketing, and operations.\n\nYou’re replying to someone who explained a specific challenge, goal, or workflow they’re trying to improve — usually related to AI or automation.\n\nYour job is to:\n- Show you understand what they’re trying to do\n- Explain how Promptible would approach solving that problem\n- Reference real automation types or templates from Promptible’s library that are relevant (automationlibrary.notion.site)\n- Make it sound effortless, like “yeah, we’ve built something like that before — here’s how it could work for you”\n\nPromptible builds systems like:\n- Lead gen email + LinkedIn outreach agents\n- Speed-to-lead AI responders for SMS/email\n- AI proposal generators post-meeting\n- Social content engines\n- Lead scoring + CRM sync\n- Support AI agents\n- Internal tools for data cleanup, tracking, etc.\n\nKeep it natural, don’t pitch too hard — you’re just sharing a real solution that fits their use case.  \nEnd with a chill question like “Want me to walk you through what that setup could look like?” or “Should I map out how we’d build that?”"
                }
              ]
            },
            "promptType": "define"
          },
          "typeVersion": 1.6
        },
        {
          "id": "6f310a27-15bc-45dd-ab3d-f5e1126a7a0c",
          "name": "Onboarding",
          "type": "@n8n/n8n-nodes-langchain.chainLlm",
          "position": [
            -16,
            624
          ],
          "parameters": {
            "text": "=Here’s the most recent message from the prospect:\n\n{{ $('Gmail2').item.json.text }}\n\nAll context needed from Promptible knowledge base: {{ $('Google Docs').item.json.content }}\n\nThey seem ready to move forward and are asking about next steps or how onboarding works.\n\nWrite a short, clear reply that explains Promptible’s onboarding process — from kickoff to handoff. Mention the strategy call or audit if relevant. Keep the tone casual and helpful, like a founder guiding them through it.\n\nEnd with a soft call to action, like offering to book the kickoff call.",
            "messages": {
              "messageValues": [
                {
                  "message": "=You are the Onboarding Agent at Promptible — a founder-led AI automation company that builds custom and productized automations for sales, marketing, and operations teams.\n\nYou’re responding to someone who is either:\n- Ready to get started\n- Asking about next steps\n- Wondering how onboarding or project setup works\n- Asking “what do you need from me?” or “how do we begin?”\n\nYour job is to explain the onboarding process clearly, quickly, and in a helpful tone.\n\nPromptible’s onboarding flow usually looks like:\n1. **Kickoff call** — We scope their workflows, goals, and tech stack\n2. **Audit + plan** — We map out the automation flow and tools\n3. **Build phase** — We create, test, and validate the automation\n4. **Handoff** — We deliver the build with Loom walkthroughs + optional Slack support\n\nIf they’re doing the **retainer model**, you can mention they get a monthly strategy call and priority support. If it’s a **custom build**, mention the audit step is key before building.\n\nKeep it simple. No fluff. Just explain how we work and make it feel easy to start.  \nEnd with something like:  \n“Want to kick things off with a quick call?” or  \n“Ready to scope your first automation?”"
                }
              ]
            },
            "promptType": "define"
          },
          "typeVersion": 1.6
        },
        {
          "id": "10f462a4-b806-4fae-b580-2ab35e7aface",
          "name": "Gmail8",
          "type": "n8n-nodes-base.gmail",
          "position": [
            1200,
            688
          ],
          "webhookId": "c5febe8e-a1f1-4c2a-b9d2-069f84e2a340",
          "parameters": {
            "message": "hi",
            "options": {},
            "resource": "thread",
            "threadId": "={{ $('Gmail2').item.json.threadId }}",
            "messageId": "={{ $('Gmail2').item.json.id }}",
            "operation": "reply"
          },
          "typeVersion": 2.1
        },
        {
          "id": "e6268c3c-cfa8-438f-8976-d9b039a935b5",
          "name": "Meeting",
          "type": "@n8n/n8n-nodes-langchain.chainLlm",
          "position": [
            -16,
            832
          ],
          "parameters": {
            "text": "=Here’s the latest message in the email thread:\n\n{{ $('Gmail2').item.json.text }}\n\nYour task: Decide if the user is requesting availability or confirming a time.\n\nOutput only one word: `true` or `false`.\n\n\nCurrent date and time for refrence: {{ $now }}\n\nWe only book between 11am and 5pm EDT monday to friday. please do not accept a time outside that range. offer a new time if it is and work with the user to find a workable time within the slots",
            "messages": {
              "messageValues": [
                {
                  "message": "=You are the Meeting AI Agent for Promptible, an AI automation agency.\n\nYour job is to decide whether the user is trying to:\n- View available times (true)\n- Confirm a specific time for booking (false)\n\nYou will always return a boolean — either `true` or `false` — and nothing else.\n\nInterpret the user's latest message based on the conversation context below.\n\nReturn:\n- `true` → if the user is asking for availability, such as: “what times work?”, “are you free Tuesday?”, “can you do next week?”, “let me know your calendar”\n- `false` → if the user confirms a specific time or suggests a concrete time, like: “yes, 2pm Tuesday works”, “how about tomorrow at noon?”, “I’m good for 3pm PST”\n\nBe strict: only return `false` if they clearly confirmed or proposed a real time.\nDo not explain your reasoning. Only return the value."
                }
              ]
            },
            "promptType": "define"
          },
          "typeVersion": 1.6
        },
        {
          "id": "c0b61374-12be-4947-8364-ed800287e945",
          "name": "Misc",
          "type": "@n8n/n8n-nodes-langchain.chainLlm",
          "position": [
            -16,
            1008
          ],
          "parameters": {
            "text": "=Here’s the latest message from the prospect:\n\n{{ $('Gmail2').item.json.text }}\n\nAll context needed from Promptible knowledge base: {{ $('Google Docs').item.json.content }}\n\n\nThe message doesn’t clearly ask about pricing, tech, onboarding, or booking — but it’s not spam or a “no response” either.\n\nWrite a short, helpful response based on what they said. Use the Promptible knowledge base or automation examples if it helps clarify. Keep it human, clear, and move the conversation forward.\n\nEnd with a friendly, open-ended question that encourages them to reply.\n",
            "messages": {
              "messageValues": [
                {
                  "message": "=You are the Miscellaneous Agent at Promptible — an AI automation agency that builds custom and productized systems for sales, ops, and marketing teams.\n\nYou’re handling an inbound message that doesn’t clearly fall into the pricing, FAQ, use case, onboarding, or meeting categories — but it still needs a human, thoughtful reply.\n\nYour job is to:\n- Read the entire message and thread\n- Understand what they’re trying to communicate\n- Reply with a helpful response that either clarifies, answers, or moves the conversation forward\n\nExamples of what this might cover:\n- Someone asking for a deck, doc, or demo\n- A request that’s partially vague but promising\n- Someone referencing a past convo without much detail\n- A casual “what’s your availability?” that isn’t quite a booking request yet\n- Any other message that’s meaningful but unclear\n\nUse the Promptible knowledge base to add value when possible — for example, mention relevant tools or workflows, offer to hop on a call, or share a public link (e.g. promptible.io or automationlibrary.notion.site) if it helps.\n\nYour tone should still feel like a helpful founder. Be calm, confident, and make it easy for them to respond.\n\nDon’t overthink it — your job is just to move the convo forward naturally.\n"
                }
              ]
            },
            "promptType": "define"
          },
          "typeVersion": 1.6
        },
        {
          "id": "186ff131-2b2f-4ea9-a6fb-b0ee4fdb03ae",
          "name": "No Operation, do nothing",
          "type": "n8n-nodes-base.noOp",
          "position": [
            32,
            1264
          ],
          "parameters": {},
          "typeVersion": 1
        },
        {
          "id": "afe1ac63-80e8-4fe3-9b2c-cf1017e26542",
          "name": "Google Docs",
          "type": "n8n-nodes-base.googleDocs",
          "position": [
            -1504,
            480
          ],
          "parameters": {
            "operation": "get",
            "documentURL": "=https://docs.google.com/document/d/18wXNd28f_Regxuo51TPtgv8ADBd47rpCB3B3R4wX3mk/edit?tab=t.0"
          },
          "typeVersion": 2
        },
        {
          "id": "381b21ce-01a0-4114-b88e-a8804e1a06d0",
          "name": "OpenAI Chat Model2",
          "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
          "position": [
            -1248,
            1232
          ],
          "parameters": {
            "model": {
              "__rl": true,
              "mode": "list",
              "value": "gpt-4.1-mini",
              "cachedResultName": "gpt-4.1-mini"
            },
            "options": {}
          },
          "typeVersion": 1.2
        },
        {
          "id": "06e3ee9b-3cfe-4109-95a6-87aa2e00ffa9",
          "name": "Google Calendar",
          "type": "n8n-nodes-base.googleCalendar",
          "position": [
            880,
            688
          ],
          "parameters": {
            "options": {},
            "timeMax": "={{ $now.plus(3, 'day') }}",
            "calendar": {
              "__rl": true,
              "mode": "list",
              "value": "liam@promptible.io",
              "cachedResultName": "liam@promptible.io"
            },
            "resource": "calendar"
          },
          "typeVersion": 1.3
        },
        {
          "id": "da1723a2-b1d5-4974-a5dc-35be307c6552",
          "name": "If1",
          "type": "n8n-nodes-base.if",
          "position": [
            512,
            832
          ],
          "parameters": {
            "options": {},
            "conditions": {
              "options": {
                "version": 2,
                "leftValue": "",
                "caseSensitive": true,
                "typeValidation": "strict"
              },
              "combinator": "and",
              "conditions": [
                {
                  "id": "bf67844a-84dc-4a24-9eab-6d71be87bf5d",
                  "operator": {
                    "name": "filter.operator.equals",
                    "type": "string",
                    "operation": "equals"
                  },
                  "leftValue": "",
                  "rightValue": ""
                }
              ]
            }
          },
          "typeVersion": 2.2
        },
        {
          "id": "b243b348-e863-4da6-aff0-caf029c29274",
          "name": "Google Calendar1",
          "type": "n8n-nodes-base.googleCalendar",
          "position": [
            880,
            944
          ],
          "parameters": {
            "end": "={{ $now.plus(15, 'min') }}",
            "calendar": {
              "__rl": true,
              "mode": "list",
              "value": "liam@promptible.io",
              "cachedResultName": "liam@promptible.io"
            },
            "additionalFields": {}
          },
          "typeVersion": 1.3
        },
        {
          "id": "5f81685d-a8ca-49ef-9441-3183fb22a804",
          "name": "Gmail5",
          "type": "n8n-nodes-base.gmail",
          "position": [
            1232,
            944
          ],
          "webhookId": "07e52a58-f75e-4ad1-81a8-b9813fbbed86",
          "parameters": {
            "message": "hi",
            "options": {},
            "resource": "thread",
            "threadId": "={{ $('Gmail2').item.json.threadId }}",
            "messageId": "={{ $('Gmail2').item.json.id }}",
            "operation": "reply"
          },
          "typeVersion": 2.1
        },
        {
          "id": "7d672b8a-b248-484d-8bd2-15906150865c",
          "name": "Sticky Note11",
          "type": "n8n-nodes-base.stickyNote",
          "position": [
            -3616,
            -608
          ],
          "parameters": {
            "color": 4,
            "width": 1240,
            "height": 420,
            "content": "## Hey people, hope you enjoy the workflow.\n\n## Everything needed should be on the Set up Guide, if not please don't hesitate to reach out. (https://x.com/_niihhhall)\n\n## - From, markeye\n\n\n## Book a free discovery call - https://cal.com/niihhhall/discovery-call\n## We'll identify your biggest operational bottleneck and design a custom AI system to solve it.\n"
          },
          "typeVersion": 1
        }
      ],
      "active": false,
      "pinData": {
        "Gmail Trigger": [
          {
            "json": {
              "To": "liam8181@icloud.com",
              "id": "196f55e4d85c2075",
              "Bcc": "hqPx6HPrYcpZOTKTwZKA@application.truflow.ai",
              "From": "liam@promptible.io",
              "labels": [
                {
                  "id": "SENT",
                  "name": "SENT"
                },
                {
                  "id": "Label_6404049094877547716",
                  "name": "AI Agent"
                }
              ],
              "Subject": "Let's Automate Promptible",
              "payload": {
                "mimeType": "text/plain"
              },
              "snippet": "Hi Liam, I'm seriously impressed by how you've made AI implementation tangible for B2B teams - that 73% automation rate with ProjectHub shows you're delivering real results, not just AI",
              "threadId": "196f55e4d85c2075",
              "historyId": "344563",
              "internalDate": "1747873320000",
              "sizeEstimate": 1368
            }
          }
        ]
      },
      "settings": {
        "executionOrder": "v1"
      },
      "versionId": "1dde0a5a-fb21-4835-a630-ac44420fe2b9",
      "connections": {
        "If": {
          "main": [
            [
              {
                "node": "Airtable1",
                "type": "main",
                "index": 0
              }
            ],
            [
              {
                "node": "Master AI Agent",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "If1": {
          "main": [
            [
              {
                "node": "Google Calendar",
                "type": "main",
                "index": 0
              }
            ],
            [
              {
                "node": "Google Calendar1",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "Misc": {
          "main": [
            [
              {
                "node": "Gmail7",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "Gmail2": {
          "main": [
            [
              {
                "node": "Airtable",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "Switch": {
          "main": [
            [
              {
                "node": "Pricing",
                "type": "main",
                "index": 0
              }
            ],
            [
              {
                "node": "Question",
                "type": "main",
                "index": 0
              }
            ],
            [
              {
                "node": "Use Case",
                "type": "main",
                "index": 0
              }
            ],
            [
              {
                "node": "Onboarding",
                "type": "main",
                "index": 0
              }
            ],
            [
              {
                "node": "Meeting",
                "type": "main",
                "index": 0
              }
            ],
            [
              {
                "node": "Misc",
                "type": "main",
                "index": 0
              }
            ],
            [
              {
                "node": "No Operation, do nothing",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "Meeting": {
          "main": [
            [
              {
                "node": "If1",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "Pricing": {
          "main": [
            [
              {
                "node": "Gmail1",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "Airtable": {
          "main": [
            [
              {
                "node": "Google Calendar2",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "Question": {
          "main": [
            [
              {
                "node": "Gmail3",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "Use Case": {
          "main": [
            [
              {
                "node": "Gmail4",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "Aggregate": {
          "main": [
            [
              {
                "node": "Basic LLM Chain",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "Airtable1": {
          "main": [
            [
              {
                "node": "Gmail",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "Onboarding": {
          "main": [
            [
              {
                "node": "Gmail6",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "Google Docs": {
          "main": [
            [
              {
                "node": "Switch",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "Gmail Trigger": {
          "main": [
            [
              {
                "node": "Gmail2",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "Basic LLM Chain": {
          "main": [
            [
              {
                "node": "If",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "Google Calendar": {
          "main": [
            [
              {
                "node": "Gmail8",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "Master AI Agent": {
          "main": [
            [
              {
                "node": "Google Docs",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "Google Calendar1": {
          "main": [
            [
              {
                "node": "Gmail5",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "Google Calendar2": {
          "main": [
            [
              {
                "node": "Aggregate",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "OpenAI Chat Model": {
          "ai_languageModel": [
            [
              {
                "node": "Basic LLM Chain",
                "type": "ai_languageModel",
                "index": 0
              }
            ]
          ]
        },
        "OpenAI Chat Model1": {
          "ai_languageModel": [
            [
              {
                "node": "Master AI Agent",
                "type": "ai_languageModel",
                "index": 0
              }
            ]
          ]
        },
        "OpenAI Chat Model2": {
          "ai_languageModel": [
            [
              {
                "node": "Pricing",
                "type": "ai_languageModel",
                "index": 0
              },
              {
                "node": "Question",
                "type": "ai_languageModel",
                "index": 0
              },
              {
                "node": "Use Case",
                "type": "ai_languageModel",
                "index": 0
              },
              {
                "node": "Onboarding",
                "type": "ai_languageModel",
                "index": 0
              },
              {
                "node": "Meeting",
                "type": "ai_languageModel",
                "index": 0
              },
              {
                "node": "Misc",
                "type": "ai_languageModel",
                "index": 0
              }
            ]
          ]
        }
      }
    }