{
  "name": "Send Proposal",
  "nodes": [
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "355dae5a-45cf-4c80-83e8-d3d8da76cccb",
        "options": {}
      },
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2.1,
      "position": [
        0,
        -224
      ],
      "id": "d67c5eef-02d6-4e41-93b8-b5927d2b44ea",
      "name": "Webhook",
      "webhookId": "355dae5a-45cf-4c80-83e8-d3d8da76cccb"
    },
    {
      "parameters": {
        "resource": "deal",
        "operation": "get",
        "dealId": "={{ $('Webhook').item.json.body['Deal ID'] }}"
      },
      "type": "n8n-nodes-base.zohoCrm",
      "typeVersion": 1,
      "position": [
        224,
        -224
      ],
      "id": "b5416902-1921-4e23-b2c1-cac697f396be",
      "name": "Get a deal",
      "credentials": {
        "zohoOAuth2Api": {
          "id": "BLGtlXjsSA9NPhij",
          "name": "Zoho account 2"
        }
      }
    },
    {
      "parameters": {
        "operation": "download",
        "fileId": {
          "__rl": true,
          "value": "={{ $('Get a deal').item.json.Proposal_Doc }}",
          "mode": "url"
        },
        "options": {}
      },
      "type": "n8n-nodes-base.googleDrive",
      "typeVersion": 3,
      "position": [
        672,
        -224
      ],
      "id": "686aba3f-081c-4c83-8c60-cad816f6b5fb",
      "name": "Download file",
      "credentials": {
        "googleDriveOAuth2Api": {
          "id": "kYmaXHVqiUwOGRCy",
          "name": "Google Drive account 2"
        }
      }
    },
    {
      "parameters": {
        "sendTo": "={{ $('Get a contact').item.json.Email }}",
        "subject": "=Proposal For {{ $('Get a contact').item.json.Account_Name.name }}",
        "message": "=<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n    <meta charset=\"UTF-8\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n    <title>Proposal Email Template</title>\n    <!-- Load Tailwind CSS -->\n    <script src=\"https://cdn.tailwindcss.com\"></script>\n    <style>\n        /* Apply a subtle background color and set the default font */\n        body {\n            font-family: 'Inter', sans-serif;\n            background-color: #f7f9fb;\n        }\n    </style>\n</head>\n<body class=\"p-4 sm:p-8\">\n\n    <!-- Email Container Card -->\n    <div class=\"max-w-2xl mx-auto bg-white shadow-xl rounded-xl p-6 sm:p-10 border border-gray-100\">\n\n        <!-- Header/Greeting -->\n        <p class=\"text-xl font-semibold text-gray-800 mb-6\">\n            Hi {{ $json.Full_Name }},\n        </p>\n        <p class=\"text-gray-600 mb-8\">\n            Hope you’re doing well.\n        </p>\n\n        <!-- Main Body Content -->\n        <div class=\"space-y-6 text-lg text-gray-700 leading-relaxed\">\n            <p>\n                As discussed, I’m attaching the proposal for your review. Please go through it and let me know if you have any questions or need any clarifications.\n            </p>\n            <p>\n                I’d also love to hear your thoughts on how we can move forward from here.\n            </p>\n            \n            <!-- Optional: Visual callout for the attached proposal -->\n            <div class=\"bg-indigo-50 border-l-4 border-indigo-500 text-indigo-800 p-4 rounded-lg italic\">\n                <!-- Note: This is where you would reference the attachment in your actual email client. -->\n                The proposal document is attached to this email.\n            </div>\n\n            <p>\n                Looking forward to your response.\n            </p>\n        </div>\n\n        <!-- Signature Block -->\n        <div class=\"mt-12 pt-6 border-t border-gray-200\">\n            <p class=\"text-gray-700 font-semibold mb-3\">Regards,</p>\n\n            <div class=\"space-y-0.5 text-sm\">\n                <p class=\"font-bold text-gray-800\">Nihal Nazer</p>\n                <p class=\"text-gray-600\">Business Development Executive</p>\n                <p class=\"text-indigo-600 font-medium\">Dare Network</p>\n                <a href=\"https://www.thedarenetwork.com\" class=\"text-indigo-500 hover:text-indigo-700 hover:underline transition duration-150 block mt-1\" target=\"_blank\">\n                    www.thedarenetwork.com\n                </a>\n            </div>\n        </div>\n\n    </div>\n</body>\n</html>",
        "options": {
          "attachmentsUi": {
            "attachmentsBinary": [
              {}
            ]
          }
        }
      },
      "type": "n8n-nodes-base.gmail",
      "typeVersion": 2.1,
      "position": [
        896,
        -224
      ],
      "id": "7303c67e-570f-444b-baf6-c2322d7a96e8",
      "name": "Send a message",
      "webhookId": "8bdd2ece-da1c-426d-8566-387614608357",
      "notesInFlow": false,
      "credentials": {
        "gmailOAuth2": {
          "id": "ctNdBjsZlsNO0VaH",
          "name": "Gmail account 2"
        }
      }
    },
    {
      "parameters": {
        "resource": "deal",
        "operation": "get",
        "dealId": "={{ $('Webhook').item.json.body['Deal ID'] }}"
      },
      "type": "n8n-nodes-base.zohoCrm",
      "typeVersion": 1,
      "position": [
        1568,
        -224
      ],
      "id": "26629463-3ad2-4b16-b07e-131190a6e14a",
      "name": "Get a deal1",
      "credentials": {
        "zohoOAuth2Api": {
          "id": "BLGtlXjsSA9NPhij",
          "name": "Zoho account 2"
        }
      }
    },
    {
      "parameters": {
        "conditions": {
          "options": {
            "caseSensitive": true,
            "leftValue": "",
            "typeValidation": "strict",
            "version": 2
          },
          "conditions": [
            {
              "id": "1842a302-847c-40d9-a57e-afa62b487ba9",
              "leftValue": "={{ $json.Stage }}",
              "rightValue": "Proposal Sent",
              "operator": {
                "type": "string",
                "operation": "equals",
                "name": "filter.operator.equals"
              }
            }
          ],
          "combinator": "and"
        },
        "options": {}
      },
      "type": "n8n-nodes-base.if",
      "typeVersion": 2.2,
      "position": [
        1792,
        -224
      ],
      "id": "3f4623f9-5e63-4493-b615-464adf670af9",
      "name": "If"
    },
    {
      "parameters": {
        "operation": "reply",
        "messageId": "={{ $('Send a message').item.json.id }}",
        "message": "=<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n    <meta charset=\"UTF-8\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n    <title>Proposal Email Template</title>\n    <!-- Load Tailwind CSS -->\n    <script src=\"https://cdn.tailwindcss.com\"></script>\n    <style>\n        /* Apply a subtle background color and set the default font */\n        body {\n            font-family: 'Inter', sans-serif;\n            background-color: #f7f9fb;\n        }\n    </style>\n</head>\n<body class=\"p-4 sm:p-8\">\n\n    <!-- Email Container Card -->\n    <div class=\"max-w-2xl mx-auto bg-white shadow-xl rounded-xl p-6 sm:p-10 border border-gray-100\">\n\n        <!-- Header/Greeting -->\n        <p class=\"text-xl font-semibold text-gray-800 mb-6\">\n            Hi {{ $('Get a contact').item.json.Full_Name }},\n        </p>\n        <p class=\"text-gray-600 mb-8\">\n            Hope you’re doing well.\n        </p>\n\n        <!-- Main Body Content (Updated for Follow-up) -->\n        <div class=\"space-y-6 text-lg text-gray-700 leading-relaxed\">\n            <p>\n                Just wanted to check in regarding the proposal I shared a couple of days ago.\n            </p>\n            <p>\n                Please let me know if you’ve had a chance to review it or if there’s anything you’d like to discuss before moving forward.\n            </p>\n            <p>\n                I’d be happy to clarify any points or make adjustments based on your feedback.\n            </p>\n            <p>\n                Looking forward to hearing your thoughts.\n            </p>\n        </div>\n\n        <!-- Signature Block -->\n        <div class=\"mt-12 pt-6 border-t border-gray-200\">\n            <p class=\"text-gray-700 font-semibold mb-3\">Regards,</p>\n\n            <div class=\"space-y-0.5 text-sm\">\n                <p class=\"font-bold text-gray-800\">Nihal Nazer</p>\n                <p class=\"text-gray-600\">Business Development Executive</p>\n                <p class=\"text-indigo-600 font-medium\">Dare Network</p>\n                <a href=\"https://www.thedarenetwork.com\" class=\"text-indigo-500 hover:text-indigo-700 hover:underline transition duration-150 block mt-1\" target=\"_blank\">\n                    www.thedarenetwork.com\n                </a>\n            </div>\n        </div>\n\n    </div>\n</body>\n</html>",
        "options": {}
      },
      "type": "n8n-nodes-base.gmail",
      "typeVersion": 2.1,
      "position": [
        2016,
        -224
      ],
      "id": "36f60550-b619-4553-998b-349c58267c0a",
      "name": "Reply to a message",
      "webhookId": "d0e7ed61-7e14-4f65-b5cc-aeb34b02a95b",
      "credentials": {
        "gmailOAuth2": {
          "id": "ctNdBjsZlsNO0VaH",
          "name": "Gmail account 2"
        }
      }
    },
    {
      "parameters": {
        "resource": "deal",
        "operation": "get",
        "dealId": "={{ $('Webhook').item.json.body['Deal ID'] }}"
      },
      "type": "n8n-nodes-base.zohoCrm",
      "typeVersion": 1,
      "position": [
        2464,
        -224
      ],
      "id": "46792543-0860-4445-9252-fc57ec68ff61",
      "name": "Get a deal2",
      "credentials": {
        "zohoOAuth2Api": {
          "id": "BLGtlXjsSA9NPhij",
          "name": "Zoho account 2"
        }
      }
    },
    {
      "parameters": {
        "conditions": {
          "options": {
            "caseSensitive": true,
            "leftValue": "",
            "typeValidation": "strict",
            "version": 2
          },
          "conditions": [
            {
              "id": "f4b48897-ecf0-4d6a-a044-e99f4ba881ea",
              "leftValue": "={{ $json.Stage }}",
              "rightValue": "Proposal Sent",
              "operator": {
                "type": "string",
                "operation": "equals",
                "name": "filter.operator.equals"
              }
            }
          ],
          "combinator": "and"
        },
        "options": {}
      },
      "type": "n8n-nodes-base.if",
      "typeVersion": 2.2,
      "position": [
        2688,
        -224
      ],
      "id": "f4abe4c6-35ae-4e45-90f7-c70d654128d1",
      "name": "If1"
    },
    {
      "parameters": {
        "amount": 2,
        "unit": "days"
      },
      "type": "n8n-nodes-base.wait",
      "typeVersion": 1.1,
      "position": [
        1344,
        -224
      ],
      "id": "febf67a5-e2ef-44ff-9a83-5bd5bcb2f887",
      "name": "2 days Follow Up ",
      "webhookId": "080f283b-1bcd-4228-8ac3-e601b15c6a35"
    },
    {
      "parameters": {
        "unit": "days"
      },
      "type": "n8n-nodes-base.wait",
      "typeVersion": 1.1,
      "position": [
        2240,
        -224
      ],
      "id": "6ca70fa8-6dd4-409e-9ce0-ff1da227983c",
      "name": "1 week follow up",
      "webhookId": "ee3ba432-93a5-48ae-8196-898e59d62860"
    },
    {
      "parameters": {
        "resource": "contact",
        "operation": "get",
        "contactId": "={{ $('Webhook').item.json.body['Contact ID'] }}"
      },
      "type": "n8n-nodes-base.zohoCrm",
      "typeVersion": 1,
      "position": [
        448,
        -224
      ],
      "id": "fd1c7d3d-275b-4b21-8ce5-56fe29a6c603",
      "name": "Get a contact",
      "credentials": {
        "zohoOAuth2Api": {
          "id": "BLGtlXjsSA9NPhij",
          "name": "Zoho account 2"
        }
      }
    },
    {
      "parameters": {
        "resource": "deal",
        "operation": "update",
        "dealId": "={{ $('Webhook').item.json.body['Deal ID'] }}",
        "updateFields": {
          "Stage": "Proposal Sent"
        }
      },
      "type": "n8n-nodes-base.zohoCrm",
      "typeVersion": 1,
      "position": [
        1120,
        -224
      ],
      "id": "2f75e0be-f429-410d-9af4-bb036f44c953",
      "name": "Update a deal",
      "credentials": {
        "zohoOAuth2Api": {
          "id": "BLGtlXjsSA9NPhij",
          "name": "Zoho account 2"
        }
      }
    },
    {
      "parameters": {
        "operation": "reply",
        "messageId": "={{ $('Send a message').item.json.id }}",
        "message": "=<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n    <meta charset=\"UTF-8\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n    <title>Proposal Email Template</title>\n    <!-- Load Tailwind CSS -->\n    <script src=\"https://cdn.tailwindcss.com\"></script>\n    <style>\n        /* Apply a subtle background color and set the default font */\n        body {\n            font-family: 'Inter', sans-serif;\n            background-color: #f7f9fb;\n        }\n    </style>\n</head>\n<body class=\"p-4 sm:p-8\">\n\n    <!-- Email Container Card -->\n    <div class=\"max-w-2xl mx-auto bg-white shadow-xl rounded-xl p-6 sm:p-10 border border-gray-100\">\n\n        <!-- Header/Greeting -->\n        <p class=\"text-xl font-semibold text-gray-800 mb-6\">\n            Hi {{ $('Get a contact').item.json.Full_Name }},\n        </p>\n        <p class=\"text-gray-600 mb-8\">\n            Hope you’re doing great.\n        </p>\n\n        <!-- Main Body Content (Updated for Direct Follow-up) -->\n        <div class=\"space-y-6 text-lg text-gray-700 leading-relaxed\">\n            <p>\n                I just wanted to take a quick follow-up regarding the proposal I sent earlier.\n            </p>\n            <p>\n                Please let me know if you’re planning to move forward or if you’ve decided to hold off for now — either way, I’d appreciate an update.\n            </p>\n            <p>\n                If you’d like to discuss timelines, budgets, or next steps, I’ll be happy to schedule a quick call at your convenience.\n            </p>\n            <p>\n                Looking forward to your response.\n            </p>\n        </div>\n\n        <!-- Signature Block -->\n        <div class=\"mt-12 pt-6 border-t border-gray-200\">\n            <p class=\"text-gray-700 font-semibold mb-3\">Regards,</p>\n\n            <div class=\"space-y-0.5 text-sm\">\n                <p class=\"font-bold text-gray-800\">Nihal Nazer</p>\n                <p class=\"text-gray-600\">Business Development Executive</p>\n                <p class=\"text-indigo-600 font-medium\">Dare Network</p>\n                <a href=\"https://www.thedarenetwork.com\" class=\"text-indigo-500 hover:text-indigo-700 hover:underline transition duration-150 block mt-1\" target=\"_blank\">\n                    www.thedarenetwork.com\n                </a>\n            </div>\n        </div>\n\n    </div>\n</body>\n</html>",
        "options": {}
      },
      "type": "n8n-nodes-base.gmail",
      "typeVersion": 2.1,
      "position": [
        2912,
        -224
      ],
      "id": "2fb90a58-47d5-43a2-90bd-d06a7845e851",
      "name": "Reply to a message1",
      "webhookId": "41ab1030-59de-4c3e-b094-734082c95974",
      "credentials": {
        "gmailOAuth2": {
          "id": "ctNdBjsZlsNO0VaH",
          "name": "Gmail account 2"
        }
      }
    },
    {
      "parameters": {
        "resource": "deal",
        "operation": "get",
        "dealId": "={{ $('Webhook').item.json.body['Deal ID'] }}"
      },
      "type": "n8n-nodes-base.zohoCrm",
      "typeVersion": 1,
      "position": [
        3360,
        -224
      ],
      "id": "e5e1c261-59ec-4bad-97d0-1cc42da34b63",
      "name": "Get a deal3",
      "credentials": {
        "zohoOAuth2Api": {
          "id": "BLGtlXjsSA9NPhij",
          "name": "Zoho account 2"
        }
      }
    },
    {
      "parameters": {
        "conditions": {
          "options": {
            "caseSensitive": true,
            "leftValue": "",
            "typeValidation": "strict",
            "version": 2
          },
          "conditions": [
            {
              "id": "58f04dc1-ba2e-41b2-a1cc-7520b97841fe",
              "leftValue": "={{ $json.Stage }}",
              "rightValue": "Proposal Sent",
              "operator": {
                "type": "string",
                "operation": "equals",
                "name": "filter.operator.equals"
              }
            }
          ],
          "combinator": "and"
        },
        "options": {}
      },
      "type": "n8n-nodes-base.if",
      "typeVersion": 2.2,
      "position": [
        3584,
        -224
      ],
      "id": "6a0b1bb5-1cb3-4be1-ab8b-1559f9a153c4",
      "name": "If2"
    },
    {
      "parameters": {
        "sendTo": "={{ $('Get a contact').item.json.Email }}",
        "subject": "Follow-up on Our Discussion",
        "message": "=<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n    <meta charset=\"UTF-8\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n    <title>Proposal Email Template - Final Check-In</title>\n    <!-- Load Tailwind CSS -->\n    <script src=\"https://cdn.tailwindcss.com\"></script>\n    <style>\n        /* Apply a subtle background color and set the default font */\n        body {\n            font-family: 'Inter', sans-serif;\n            background-color: #f7f9fb;\n        }\n    </style>\n</head>\n<body class=\"p-4 sm:p-8\">\n\n    <!-- Email Container Card -->\n    <div class=\"max-w-2xl mx-auto bg-white shadow-xl rounded-xl p-6 sm:p-10 border border-gray-100\">\n\n        <!-- Header/Greeting -->\n        <p class=\"text-xl font-semibold text-gray-800 mb-6\">\n            Hey {{ $('Get a contact').item.json.Full_Name }},\n        </p>\n        <p class=\"text-gray-600 mb-8\">\n            Hope you’re doing well!\n        </p>\n\n        <!-- Main Body Content (Updated for Final Call/Closing) -->\n        <div class=\"space-y-6 text-lg text-gray-700 leading-relaxed\">\n            <p>\n                I’ve been trying to reach out over the past week but couldn’t get through. Just wanted to let you know that I’ll be closing the deal from my end today.\n            </p>\n            <p>\n                If you’d like to hold off or need a bit more time to decide, no problem at all—just let me know and I’ll keep it on hold for you. Otherwise, please confirm if you’ve decided not to move forward.\n            </p>\n            <p>\n                Looking forward to hearing from you soon.\n            </p>\n        </div>\n\n        <!-- Signature Block (Simplified) -->\n        <div class=\"mt-12 pt-6 border-t border-gray-200\">\n            <p class=\"text-gray-700 font-semibold mb-3\">Best,</p>\n\n            <div class=\"space-y-0.5 text-sm\">\n                <p class=\"font-bold text-gray-800\">Nihal Nazer</p>\n                <p class=\"text-indigo-600 font-medium\">Dare Network</p>\n                <!-- Retaining the website link as it's standard for a professional signature, though not explicitly in the last prompt -->\n                <a href=\"https://www.thedarenetwork.com\" class=\"text-indigo-500 hover:text-indigo-700 hover:underline transition duration-150 block mt-1\" target=\"_blank\">\n                    www.thedarenetwork.com\n                </a>\n            </div>\n        </div>\n\n    </div>\n</body>\n</html>",
        "options": {}
      },
      "type": "n8n-nodes-base.gmail",
      "typeVersion": 2.1,
      "position": [
        3808,
        -224
      ],
      "id": "a8eb81b7-964d-4b7d-afd7-fe7ddf1df160",
      "name": "Send a message1",
      "webhookId": "4e92b19c-644c-4283-9c09-9f708b947d72",
      "credentials": {
        "gmailOAuth2": {
          "id": "ctNdBjsZlsNO0VaH",
          "name": "Gmail account 2"
        }
      }
    },
    {
      "parameters": {
        "unit": "days"
      },
      "type": "n8n-nodes-base.wait",
      "typeVersion": 1.1,
      "position": [
        3136,
        -224
      ],
      "id": "c2c0a2a8-57f2-4db6-a269-8aeec0a4c98c",
      "name": "12th day follow up",
      "webhookId": "cf4049ba-0647-4757-8a1c-daf2de226784"
    }
  ],
  "pinData": {},
  "connections": {
    "Webhook": {
      "main": [
        [
          {
            "node": "Get a deal",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get a deal": {
      "main": [
        [
          {
            "node": "Get a contact",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download file": {
      "main": [
        [
          {
            "node": "Send a message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send a message": {
      "main": [
        [
          {
            "node": "Update a deal",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get a deal1": {
      "main": [
        [
          {
            "node": "If",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If": {
      "main": [
        [
          {
            "node": "Reply to a message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Reply to a message": {
      "main": [
        [
          {
            "node": "1 week follow up",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get a deal2": {
      "main": [
        [
          {
            "node": "If1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If1": {
      "main": [
        [
          {
            "node": "Reply to a message1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "2 days Follow Up ": {
      "main": [
        [
          {
            "node": "Get a deal1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "1 week follow up": {
      "main": [
        [
          {
            "node": "Get a deal2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get a contact": {
      "main": [
        [
          {
            "node": "Download file",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update a deal": {
      "main": [
        [
          {
            "node": "2 days Follow Up ",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Reply to a message1": {
      "main": [
        [
          {
            "node": "12th day follow up",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get a deal3": {
      "main": [
        [
          {
            "node": "If2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If2": {
      "main": [
        [
          {
            "node": "Send a message1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "12th day follow up": {
      "main": [
        [
          {
            "node": "Get a deal3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": true,
  "settings": {
    "executionOrder": "v1",
    "binaryMode": "separate",
    "callerPolicy": "workflowsFromSameOwner",
    "availableInMCP": false
  },
  "versionId": "8b75f1cf-fd40-4dab-8995-388aad7a7a73",
  "meta": {
    "templateCredsSetupCompleted": true,
    "instanceId": "ec71a95432ae1169816e368ff566c55fc9a5562016ed19405e0147feef576edc"
  },
  "id": "RDn0yPmDBMP3ZI3f",
  "tags": []
}