{"workflow":{"id":12915,"name":"Manage LinkedIn outreach sequences with Linked API and Google Sheets","views":170,"recentViews":0,"totalViews":170,"createdAt":"2026-01-22T13:19:13.386Z","description":"Automate your LinkedIn outreach with this n8n workflow powered by [Linked API](https://linkedapi.io). Sends connection requests, monitors acceptance, delivers your pre-written messages, and follows up automatically – all tracked in Google Sheets.\n\n ## How it works\n\n  1. **Connection phase** – Sends connection requests to leads with status `NEW`, respects daily limits\n  2. **Monitoring** – Checks if connections were accepted, expired, or declined\n  3. **Messaging** – Sends your pre-written messages (up to 3) after connection is accepted\n  4. **Follow-up** – Automatically follows up if no reply, marks leads as `NO_RESPONSE` after timeout\n  5. **Tracking** – All statuses and timestamps are saved to Google Sheets\n\n  ## Setup steps\n\n  1. **Copy the [Google Sheet template](https://docs.google.com/spreadsheets/d/141fJskisAQ7H8AxtojQ7LZrnd14EOyB26RdDq5aczEU/copy)**\n\n  2. **Connect credentials:**\n     - Google Sheets (OAuth2)\n     - Linked API ([get key here](https://app.linkedapi.io/accounts))\n\n  3. **Configure** `DOCUMENT_LINK` in the Config node (paste your spreadsheet URL)\n\n  4. **Add leads** with `Status` = `NEW` and fill in `Message 1`, `Message 2`, `Message 3`\n\n  5. **Activate** the workflow\n\n## Configuration\n\n| Setting | Default | Description |\n|---------|---------|-------------|\n| DOCUMENT_LINK | – | URL to your Google Sheet |\n| SHEET_NAME | Leads | Name of the sheet with leads |\n| DAILY_CONNECTION_LIMIT | 25 | Max connection requests per day |\n| HOURS_TO_CHECK_IF_CONNECTION_ACCEPTED | 24 | Check frequency for connection acceptance |\n| HOURS_TO_CHECK_IF_REPLIED | 4 | Check frequency for message replies |\n| HOURS_DELAY_AFTER_CONNECTION_ACCEPTED | 24 | Delay before first message |\n| DAYS_DELAY_BETWEEN_MESSAGES | 2 | Delay between follow-ups |\n| DAYS_WAIT_FOR_CONNECTION_ACCEPTANCE | 10 | Timeout for connection requests |\n| DAYS_WAIT_AFTER_LAST_MESSAGE | 4 | Days to wait after last message before marking as no response |","workflow":{"id":"OpvrOeWl5TEfcezv","meta":{"instanceId":"adbb8eb5fb3a199f4ec194368c09f94f803463efab43dc4264557bb6e06f37c1","templateCredsSetupCompleted":true},"name":"Standard outreach sequence","tags":[],"nodes":[{"id":"e65cf150-20e6-48aa-a779-d50da27f69e3","name":"📥 Get All Leads","type":"n8n-nodes-base.googleSheets","position":[192,288],"parameters":{"options":{},"sheetName":{"__rl":true,"mode":"name","value":"={{ $json.SHEET_NAME }}"},"documentId":{"__rl":true,"mode":"url","value":"={{ $json.DOCUMENT_LINK }}"}},"credentials":{"googleSheetsOAuth2Api":{"id":"credential-id","name":"Google Sheets (hi@linkedapi.io)"}},"typeVersion":4.7},{"id":"40710f0b-e18f-4c65-bb87-f1e35e3d1a29","name":"⚙️ Config","type":"n8n-nodes-base.set","position":[-16,288],"parameters":{"options":{},"assignments":{"assignments":[{"id":"03612969-856a-4cfa-ad5c-b9cd71e255ad","name":"DOCUMENT_LINK","type":"string","value":"https://docs.google.com/spreadsheets/d/141fJskisAQ7H8AxtojQ7LZrnd14EOyB26RdDq5aczEU"},{"id":"a684204c-beb8-4e27-8366-5c00783baa9f","name":"SHEET_NAME","type":"string","value":"Leads"},{"id":"469b1fde-ce1a-4b2e-84cf-46b90d0f4b6f","name":"DAILY_CONNECTION_LIMIT","type":"number","value":25},{"id":"8a740b2c-471f-44c0-8252-d748dddc1a23","name":"HOURS_TO_CHECK_IF_CONNECTION_ACCEPTED","type":"number","value":24},{"id":"9e0843c5-f895-4141-8835-1e15c6a88651","name":"HOURS_TO_CHECK_IF_REPLIED","type":"number","value":4},{"id":"359e2129-27fb-48d6-b618-f382db0f0ce5","name":"HOURS_DELAY_AFTER_CONNECTION_ACCEPTED","type":"number","value":24},{"id":"d7286a53-6254-4ed3-ad05-494a62284b44","name":"DAYS_DELAY_BETWEEN_MESSAGES","type":"number","value":2},{"id":"aa8b5fc8-98f5-4489-9fa8-35412193533d","name":"DAYS_WAIT_FOR_CONNECTION_ACCEPTANCE","type":"number","value":10},{"id":"30a5d273-4f5c-4fcb-9b53-c8b99107b342","name":"DAYS_WAIT_AFTER_LAST_MESSAGE","type":"string","value":"4"}]}},"typeVersion":3.4},{"id":"03397cd7-a589-4491-a464-01aea127df4e","name":"⏰ Every 2 hours","type":"n8n-nodes-base.scheduleTrigger","position":[-224,288],"parameters":{"rule":{"interval":[{"field":"hours","hoursInterval":2}]}},"typeVersion":1.3},{"id":"1f6d7790-04f0-4e2a-800c-e6ae56e32c1c","name":"🔍 Filter Active Leads","type":"n8n-nodes-base.filter","position":[416,288],"parameters":{"options":{},"conditions":{"options":{"version":3,"leftValue":"","caseSensitive":true,"typeValidation":"strict"},"combinator":"or","conditions":[{"id":"0d9a0d4d-77fa-4ce1-bda8-e13b6c09abdf","operator":{"type":"string","operation":"equals"},"leftValue":"={{ $json.Status }}","rightValue":"NEW"},{"id":"df82b6bf-5002-4c6a-9789-df4ad4ef3a21","operator":{"name":"filter.operator.equals","type":"string","operation":"equals"},"leftValue":"={{ $json.Status }}","rightValue":"PENDING_CONNECTION"},{"id":"51d0073b-93c8-4e19-8a69-78e8e5ef8d80","operator":{"name":"filter.operator.equals","type":"string","operation":"equals"},"leftValue":"={{ $json.Status }}","rightValue":"CONNECTED"},{"id":"41d962b1-5882-43aa-b3a6-3faae248b592","operator":{"name":"filter.operator.equals","type":"string","operation":"equals"},"leftValue":"={{ $json.Status }}","rightValue":"AWAITING_REPLY_1"},{"id":"38b9c13b-81e6-4ff3-9aa1-8ffa81f12480","operator":{"name":"filter.operator.equals","type":"string","operation":"equals"},"leftValue":"={{ $json.Status }}","rightValue":"AWAITING_REPLY_2"},{"id":"c75df52e-9903-4b93-a5ca-1164a54f9f54","operator":{"name":"filter.operator.equals","type":"string","operation":"equals"},"leftValue":"={{ $json.Status }}","rightValue":"AWAITING_REPLY_3"}]}},"typeVersion":2.3,"alwaysOutputData":false},{"id":"a6ff5066-9480-4184-b2f1-6c3641cb72d9","name":"🔄 Loop Over Items","type":"n8n-nodes-base.splitInBatches","position":[896,288],"parameters":{"options":{"reset":false}},"typeVersion":3},{"id":"0f5307db-96fc-41d5-a28d-3b2d8b0a8afb","name":"🔗 Merge Config","type":"n8n-nodes-base.set","position":[1136,304],"parameters":{"options":{},"assignments":{"assignments":[{"id":"66dee3d9-a69f-4e3f-875d-f6ded281dec4","name":"config_document_link","type":"string","value":"={{ $('⚙️ Config').item.json.DOCUMENT_LINK }}"},{"id":"f4448c13-148b-46b4-b7d9-09caa8e78c26","name":"config_sheet_name","type":"string","value":"={{ $('⚙️ Config').item.json.SHEET_NAME }}"},{"id":"aac9336a-2e38-4c96-aaed-9c6d0f4195fd","name":"config_daily_limit","type":"number","value":"={{ $('⚙️ Config').item.json.DAILY_CONNECTION_LIMIT }}"},{"id":"bec1865c-e6e1-4740-8333-1f6cca1e545b","name":"config_hours_check_connection","type":"number","value":"={{ $('⚙️ Config').item.json.HOURS_TO_CHECK_IF_CONNECTION_ACCEPTED }}"},{"id":"e43b0d49-c334-4c2b-b61d-89d24e6cc428","name":"config_hours_check_reply","type":"number","value":"={{ $('⚙️ Config').item.json.HOURS_TO_CHECK_IF_REPLIED }}"},{"id":"0eebb0ab-ca64-411e-bab9-7b9df13b9869","name":"config_hours_after_connect","type":"number","value":"={{ $('⚙️ Config').item.json.HOURS_DELAY_AFTER_CONNECTION_ACCEPTED }}"},{"id":"b75c49b0-506a-4c20-a470-36a55cfc8ae9","name":"config_days_between_msgs","type":"number","value":"={{ $('⚙️ Config').item.json.DAYS_DELAY_BETWEEN_MESSAGES }}"},{"id":"84751bd2-da2e-4653-941c-a397b74be291","name":"config_days_wait_connect","type":"number","value":"= {{ $('⚙️ Config').item.json.DAYS_WAIT_FOR_CONNECTION_ACCEPTANCE }}"},{"id":"c1a8812c-4f91-4919-9f7e-b8099012d6b6","name":"config_days_wait_last","type":"number","value":"= {{ $('⚙️ Config').item.json.DAYS_WAIT_AFTER_LAST_MESSAGE }}"},{"id":"c3016764-d929-4089-98fa-fd80b3217642","name":"lead_url","type":"string","value":"={{ $json['LinkedIn URL'] }}"},{"id":"f47d50b4-ce10-41bc-bac7-3eae874eff68","name":"lead_name","type":"string","value":"={{ $json.Name }}"},{"id":"296b09e7-c5eb-4faa-81d2-eaf7c4bf20ff","name":"lead_company","type":"string","value":"={{ $json.Company }}"},{"id":"c14eebce-b16f-4621-b2a6-6b69a731aa2c","name":"lead_status","type":"string","value":"={{ $json.Status }}"},{"id":"ea2ac895-a85c-4794-aeb0-5202a630a719","name":"lead_next_send","type":"string","value":"={{ $json['Next send date'] }}"},{"id":"3132088f-bae4-46a3-8ae3-b9da8dec75c8","name":"lead_next_check","type":"string","value":"={{ $json['Next check date'] }}"},{"id":"af022912-88de-4f08-bfdc-e5+1234567890","name":"lead_last_action","type":"string","value":"={{ $json['Last action date'] }}"},{"id":"d3e00c06-1eb9-49ea-9ef4-9fbf0d05f75c","name":"lead_message_1","type":"string","value":"={{ $json['Message 1'] }}"},{"id":"d33089eb-bc0d-4917-940f-b384399b5ed0","name":"lead_message_2","type":"string","value":"={{ $json['Message 2'] }}"},{"id":"39ca1cc2-4769-40f4-9764-8c94daa9ee93","name":"lead_message_3","type":"string","value":"={{ $json['Message 3'] }}"},{"id":"b8ecd27e-3730-4f4e-95e6-147897829ef4","name":"lead_connection_note","type":"string","value":"={{ $json['Connection note'] }}"},{"id":"adc6d3ef-489b-4b62-b089-b60c8eddfce0","name":"lead_row_number","type":"number","value":"={{ $json.row_number }}"}]}},"typeVersion":3.4},{"id":"c822b0d2-a3c9-4c0f-92f9-4c0aca47ff84","name":"🔀 Route by Status","type":"n8n-nodes-base.switch","position":[1360,240],"parameters":{"rules":{"values":[{"outputKey":"NEW","conditions":{"options":{"version":3,"leftValue":"","caseSensitive":true,"typeValidation":"strict"},"combinator":"and","conditions":[{"id":"a676cd1f-eea0-4457-860e-b264e428ce22","operator":{"type":"string","operation":"equals"},"leftValue":"={{ $json.lead_status }}","rightValue":"NEW"}]},"renameOutput":true},{"outputKey":"PENDING_CONNECTION","conditions":{"options":{"version":3,"leftValue":"","caseSensitive":true,"typeValidation":"strict"},"combinator":"and","conditions":[{"id":"deb85319-3022-4a93-a8fd-c76fc57f0017","operator":{"name":"filter.operator.equals","type":"string","operation":"equals"},"leftValue":"={{ $json.lead_status }}","rightValue":"PENDING_CONNECTION"}]},"renameOutput":true},{"outputKey":"CONNECTED","conditions":{"options":{"version":3,"leftValue":"","caseSensitive":true,"typeValidation":"strict"},"combinator":"and","conditions":[{"id":"1d922fb0-0bc4-48d1-b085-f0f3e6b6ab8e","operator":{"name":"filter.operator.equals","type":"string","operation":"equals"},"leftValue":"={{ $json.lead_status }}","rightValue":"CONNECTED"}]},"renameOutput":true},{"outputKey":"AWAITING_REPLY_1","conditions":{"options":{"version":3,"leftValue":"","caseSensitive":true,"typeValidation":"strict"},"combinator":"and","conditions":[{"id":"16319afc-5aa5-4a80-80e9-3eefc4616d01","operator":{"name":"filter.operator.equals","type":"string","operation":"equals"},"leftValue":"={{ $json.lead_status }}","rightValue":"AWAITING_REPLY_1"}]},"renameOutput":true},{"outputKey":"AWAITING_REPLY_2","conditions":{"options":{"version":3,"leftValue":"","caseSensitive":true,"typeValidation":"strict"},"combinator":"and","conditions":[{"id":"fff765e3-d24e-4381-84c6-355e6017617a","operator":{"name":"filter.operator.equals","type":"string","operation":"equals"},"leftValue":"={{ $json.lead_status }}","rightValue":"AWAITING_REPLY_2"}]},"renameOutput":true},{"outputKey":"AWAITING_REPLY_3","conditions":{"options":{"version":3,"leftValue":"","caseSensitive":true,"typeValidation":"strict"},"combinator":"and","conditions":[{"id":"6ab5cff1-54de-4a24-b3bb-1c0a7eaafc55","operator":{"name":"filter.operator.equals","type":"string","operation":"equals"},"leftValue":"={{ $json.lead_status }}","rightValue":"AWAITING_REPLY_3"}]},"renameOutput":true}]},"options":{}},"typeVersion":3.4},{"id":"b411b12d-0b3d-48c6-bc6d-0c15db13aa77","name":"➡️ Combine Branches","type":"n8n-nodes-base.noOp","position":[4544,992],"parameters":{},"typeVersion":1},{"id":"9bd20d30-86da-4d96-8c71-047e4b1aeb5b","name":"Send connection request","type":"n8n-nodes-linked-api.linkedApi","position":[1872,-2112],"parameters":{"operation":"sendConnectionRequest","personUrl":"={{ $json.lead_url }}","connectionNote":"={{ $json.lead_connection_note }}"},"credentials":{"linkedApi":{"id":"credential-id","name":"Vlad's Account"}},"typeVersion":1},{"id":"7a028626-13b0-42c1-917b-c2bb1e8d1278","name":"❓ Time to Send Connection?","type":"n8n-nodes-base.if","position":[1552,-1904],"parameters":{"options":{},"conditions":{"options":{"version":3,"leftValue":"","caseSensitive":true,"typeValidation":"loose"},"combinator":"or","conditions":[{"id":"7680a0b8-0b80-4622-a24f-5dbce9ccee4e","operator":{"type":"string","operation":"empty"},"leftValue":"={{ $('🔗 Merge Config').item.json.lead_next_send }}","rightValue":""},{"id":"fc44ab90-142b-45e4-bb24-a8742fd135f3","operator":{"type":"dateTime","operation":"beforeOrEquals"},"leftValue":"={{ DateTime.fromFormat($('🔗 Merge Config').item.json.lead_next_send, 'M/d/yyyy H:mm:ss') }}","rightValue":"={{ $today }}"}]},"looseTypeValidation":true},"typeVersion":2.3},{"id":"5aad4c01-5cb4-4481-834b-f4372c3121b1","name":"❓ Time to Check?","type":"n8n-nodes-base.if","position":[1568,-800],"parameters":{"options":{},"conditions":{"options":{"version":3,"leftValue":"","caseSensitive":true,"typeValidation":"strict"},"combinator":"or","conditions":[{"id":"7680a0b8-0b80-4622-a24f-5dbce9ccee4e","operator":{"type":"string","operation":"empty"},"leftValue":"={{ $('🔗 Merge Config').item.json.lead_next_check }}","rightValue":""},{"id":"fc44ab90-142b-45e4-bb24-a8742fd135f3","operator":{"type":"dateTime","operation":"beforeOrEquals"},"leftValue":"={{ DateTime.fromFormat($('🔗 Merge Config').item.json.lead_next_check, 'M/d/yyyy H:mm:ss') }}","rightValue":"={{ $now }}"}]}},"typeVersion":2.3},{"id":"a1c8136b-20c7-4632-a148-b50911567040","name":"Check connection status","type":"n8n-nodes-linked-api.linkedApi","position":[1776,-1072],"parameters":{"operation":"checkConnectionStatus","personUrl":"={{ $('🔀 Route by Status').item.json.lead_url }}"},"credentials":{"linkedApi":{"id":"credential-id","name":"Vlad's Account"}},"typeVersion":1},{"id":"c2526eb5-bd7b-4890-9f43-99283ead2fb5","name":"Wait 'Send connection request'","type":"n8n-nodes-base.wait","position":[2064,-2112],"webhookId":"5f4af7ea-3fba-45d9-b172-063f66447abb","parameters":{"resume":"webhook","options":{}},"typeVersion":1.1},{"id":"fba5d8d7-ca26-448f-92c6-fd7055a3c7bc","name":"Wait 'Check connection status'","type":"n8n-nodes-base.wait","position":[1984,-1072],"webhookId":"0d41c07b-c50a-4681-8cfa-3821c1531209","parameters":{"resume":"webhook","options":{}},"typeVersion":1.1},{"id":"faaa8143-e850-4c22-a650-d6afef8444aa","name":"🔀 Route by Connection Status","type":"n8n-nodes-base.switch","position":[2224,-1184],"parameters":{"rules":{"values":[{"outputKey":"connected","conditions":{"options":{"version":3,"leftValue":"","caseSensitive":true,"typeValidation":"strict"},"combinator":"and","conditions":[{"id":"bf75fd86-4852-4e45-b686-fddaed02dc0a","operator":{"type":"string","operation":"equals"},"leftValue":"={{ $json.body.data.connectionStatus }}","rightValue":"connected"}]},"renameOutput":true},{"outputKey":"pending","conditions":{"options":{"version":3,"leftValue":"","caseSensitive":true,"typeValidation":"strict"},"combinator":"and","conditions":[{"id":"bf8ac072-f78e-4767-8610-6ba85cba72e5","operator":{"type":"string","operation":"equals"},"leftValue":"={{ $json.body.data.connectionStatus }}","rightValue":"pending"}]},"renameOutput":true},{"outputKey":"notConnected","conditions":{"options":{"version":3,"leftValue":"","caseSensitive":true,"typeValidation":"strict"},"combinator":"and","conditions":[{"id":"76e4a931-28aa-4946-a292-213cf7652f23","operator":{"type":"string","operation":"equals"},"leftValue":"={{ $json.body.data.connectionStatus }}","rightValue":"notConnected"}]},"renameOutput":true},{"outputKey":"other","conditions":{"options":{"version":3,"leftValue":"","caseSensitive":true,"typeValidation":"strict"},"combinator":"and","conditions":[{"id":"1713c11b-84b0-4fb4-8fac-e090e164090f","operator":{"type":"string","operation":"equals"},"leftValue":"=","rightValue":""}]},"renameOutput":true}]},"options":{}},"typeVersion":3.4},{"id":"98a364ec-5413-437f-a109-d966efb4cf27","name":"❓ Connection Expired?","type":"n8n-nodes-base.if","position":[2560,-1264],"parameters":{"options":{},"conditions":{"options":{"version":3,"leftValue":"","caseSensitive":true,"typeValidation":"strict"},"combinator":"and","conditions":[{"id":"e839706d-2eca-4bc2-b9ae-5e062eb5e1ef","operator":{"type":"number","operation":"gt"},"leftValue":"={{ $now.diff(DateTime.fromFormat($('🔗 Merge Config').item.json.lead_last_action, 'M/d/yyyy H:mm:ss'), 'days').days }}","rightValue":"={{ $('🔗 Merge Config').item.json.config_days_wait_connect }}"}]}},"typeVersion":2.3},{"id":"e33dc12f-cb7d-4e05-9d85-a382c729fc2a","name":"❓ Time to Send Message?","type":"n8n-nodes-base.if","position":[1584,-256],"parameters":{"options":{},"conditions":{"options":{"version":3,"leftValue":"","caseSensitive":true,"typeValidation":"strict"},"combinator":"or","conditions":[{"id":"86ab6e76-7637-49c3-8cd3-3e81a22b7901","operator":{"type":"string","operation":"empty"},"leftValue":"={{ $('🔗 Merge Config').item.json.lead_next_send }}","rightValue":""},{"id":"4ad83135-624c-4c57-9775-d3a967183b7c","operator":{"type":"dateTime","operation":"beforeOrEquals"},"leftValue":"={{ DateTime.fromFormat($('🔗 Merge Config').item.json.lead_next_send, 'M/d/yyyy H:mm:ss') }}","rightValue":"={{$now}}"}]}},"typeVersion":2.3},{"id":"b346cf78-59f0-493e-b6bc-289d937cb5fa","name":"Send message","type":"n8n-nodes-linked-api.linkedApi","position":[1792,-384],"parameters":{"operation":"sendMessage","personUrl":"={{ $('🔀 Route by Status').item.json.lead_url }}","messageText":"={{ $('🔀 Route by Status').item.json.lead_message_1 }}"},"credentials":{"linkedApi":{"id":"credential-id","name":"Vlad's Account"}},"typeVersion":1},{"id":"370c6d59-b6e2-43ba-bb14-83d206b84a6a","name":"Wait 'Send message'","type":"n8n-nodes-base.wait","position":[1984,-384],"webhookId":"260819eb-d892-4a3d-95b1-0c62fec6250e","parameters":{"resume":"webhook","options":{}},"typeVersion":1.1},{"id":"ac5c08bc-1281-4002-80d7-2b8a4e81df04","name":"❓ Successfully Sent Connection?","type":"n8n-nodes-base.if","position":[2272,-2112],"parameters":{"options":{},"conditions":{"options":{"version":3,"leftValue":"","caseSensitive":true,"typeValidation":"loose"},"combinator":"and","conditions":[{"id":"cdc680c1-a619-4d8b-92da-2d2a4e206995","operator":{"type":"array","operation":"empty"},"leftValue":"={{ $json.body.errors }}","rightValue":""}]},"looseTypeValidation":true},"typeVersion":2.3},{"id":"825ea7ff-2def-43b7-8eff-772b47c68c02","name":"❓ Successfully Sent Message?","type":"n8n-nodes-base.if","position":[2192,-384],"parameters":{"options":{},"conditions":{"options":{"version":3,"leftValue":"","caseSensitive":true,"typeValidation":"strict"},"combinator":"and","conditions":[{"id":"07fd870d-f3d3-4d0f-869a-d61d138d60b3","operator":{"type":"array","operation":"empty"},"leftValue":"={{ $json.body.errors }}","rightValue":""}]}},"typeVersion":2.3},{"id":"ac57de0f-1038-4697-95f3-fa5957905ff2","name":"💾 Update Sheet (PENDING)","type":"n8n-nodes-base.googleSheets","position":[2544,-2208],"parameters":{"columns":{"value":{"Status":"PENDING_CONNECTION","row_number":"={{ $('🔗 Merge Config').item.json.lead_row_number }}","Next check date":"={{ $now.plus({ hours: $('🔗 Merge Config').item.json.config_hours_check_connection }).toFormat('M/d/yyyy HH:mm') }}","Last action date":"={{ $now.toFormat('M/d/yyyy HH:mm') }}"},"schema":[{"id":"LinkedIn URL","type":"string","display":true,"removed":true,"required":false,"displayName":"LinkedIn URL","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Name","type":"string","display":true,"removed":true,"required":false,"displayName":"Name","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Company","type":"string","display":true,"removed":true,"required":false,"displayName":"Company","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Status","type":"string","display":true,"required":false,"displayName":"Status","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Connection note","type":"string","display":true,"removed":true,"required":false,"displayName":"Connection note","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Message 1","type":"string","display":true,"removed":true,"required":false,"displayName":"Message 1","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Message 2","type":"string","display":true,"removed":true,"required":false,"displayName":"Message 2","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Message 3","type":"string","display":true,"removed":true,"required":false,"displayName":"Message 3","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Message stage","type":"string","display":true,"removed":true,"required":false,"displayName":"Message stage","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Next send date","type":"string","display":true,"removed":true,"required":false,"displayName":"Next send date","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Next check date","type":"string","display":true,"required":false,"displayName":"Next check date","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Last action date","type":"string","display":true,"required":false,"displayName":"Last action date","defaultMatch":false,"canBeUsedToMatch":true},{"id":"row_number","type":"number","display":true,"removed":false,"readOnly":true,"required":false,"displayName":"row_number","defaultMatch":false,"canBeUsedToMatch":true}],"mappingMode":"defineBelow","matchingColumns":["row_number"],"attemptToConvertTypes":false,"convertFieldsToString":false},"options":{},"operation":"update","sheetName":{"__rl":true,"mode":"name","value":"={{ $('🔗 Merge Config').item.json.config_sheet_name }}"},"documentId":{"__rl":true,"mode":"url","value":"={{ $('🔗 Merge Config').item.json.config_document_link }}"}},"credentials":{"googleSheetsOAuth2Api":{"id":"credential-id","name":"Google Sheets (hi@linkedapi.io)"}},"typeVersion":4.7},{"id":"5df8958e-c943-4adb-acc4-438fa6f1bd28","name":"💾 Update Sheet (CONNECTION ERROR)","type":"n8n-nodes-base.googleSheets","position":[2544,-2032],"parameters":{"columns":{"value":{"Status":"ERROR","row_number":"={{ $('🔗 Merge Config').item.json.lead_row_number }}","Last action date":"={{ $now.toFormat('M/d/yyyy HH:mm') }}"},"schema":[{"id":"LinkedIn URL","type":"string","display":true,"removed":true,"required":false,"displayName":"LinkedIn URL","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Name","type":"string","display":true,"removed":true,"required":false,"displayName":"Name","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Company","type":"string","display":true,"removed":true,"required":false,"displayName":"Company","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Status","type":"string","display":true,"required":false,"displayName":"Status","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Connection note","type":"string","display":true,"removed":true,"required":false,"displayName":"Connection note","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Message 1","type":"string","display":true,"removed":true,"required":false,"displayName":"Message 1","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Message 2","type":"string","display":true,"removed":true,"required":false,"displayName":"Message 2","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Message 3","type":"string","display":true,"removed":true,"required":false,"displayName":"Message 3","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Message stage","type":"string","display":true,"removed":true,"required":false,"displayName":"Message stage","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Next send date","type":"string","display":true,"removed":true,"required":false,"displayName":"Next send date","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Next check date","type":"string","display":true,"removed":true,"required":false,"displayName":"Next check date","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Last action date","type":"string","display":true,"required":false,"displayName":"Last action date","defaultMatch":false,"canBeUsedToMatch":true},{"id":"row_number","type":"number","display":true,"removed":false,"readOnly":true,"required":false,"displayName":"row_number","defaultMatch":false,"canBeUsedToMatch":true}],"mappingMode":"defineBelow","matchingColumns":["row_number"],"attemptToConvertTypes":false,"convertFieldsToString":false},"options":{},"operation":"update","sheetName":{"__rl":true,"mode":"name","value":"={{ $('🔗 Merge Config').item.json.config_sheet_name }}"},"documentId":{"__rl":true,"mode":"url","value":"={{ $('🔗 Merge Config').item.json.config_document_link }}"}},"credentials":{"googleSheetsOAuth2Api":{"id":"credential-id","name":"Google Sheets (hi@linkedapi.io)"}},"typeVersion":4.7},{"id":"a9778b9b-e0a5-4e85-8f6f-d3152ddaaabd","name":"💾 Update Sheet (CONNECTED)","type":"n8n-nodes-base.googleSheets","position":[2768,-1664],"parameters":{"columns":{"value":{"Status":"=CONNECTED","row_number":"={{ $('🔗 Merge Config').item.json.lead_row_number }}","Next send date":"={{ $now.plus({ hours: $('🔗 Merge Config').item.json.config_hours_after_connect }).toFormat('M/d/yyyy HH:mm') }}","Last action date":"={{ $now.toFormat('M/d/yyyy HH:mm') }}"},"schema":[{"id":"LinkedIn URL","type":"string","display":true,"removed":true,"required":false,"displayName":"LinkedIn URL","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Name","type":"string","display":true,"removed":true,"required":false,"displayName":"Name","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Company","type":"string","display":true,"removed":true,"required":false,"displayName":"Company","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Status","type":"string","display":true,"removed":false,"required":false,"displayName":"Status","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Connection note","type":"string","display":true,"removed":true,"required":false,"displayName":"Connection note","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Message 1","type":"string","display":true,"removed":true,"required":false,"displayName":"Message 1","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Message 2","type":"string","display":true,"removed":true,"required":false,"displayName":"Message 2","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Message 3","type":"string","display":true,"removed":true,"required":false,"displayName":"Message 3","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Message stage","type":"string","display":true,"removed":true,"required":false,"displayName":"Message stage","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Next send date","type":"string","display":true,"removed":false,"required":false,"displayName":"Next send date","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Next check date","type":"string","display":true,"removed":true,"required":false,"displayName":"Next check date","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Last action date","type":"string","display":true,"removed":false,"required":false,"displayName":"Last action date","defaultMatch":false,"canBeUsedToMatch":true},{"id":"row_number","type":"number","display":true,"removed":false,"readOnly":true,"required":false,"displayName":"row_number","defaultMatch":false,"canBeUsedToMatch":true}],"mappingMode":"defineBelow","matchingColumns":["row_number"],"attemptToConvertTypes":false,"convertFieldsToString":false},"options":{},"operation":"update","sheetName":{"__rl":true,"mode":"name","value":"={{ $('🔗 Merge Config').item.json.config_sheet_name }}"},"documentId":{"__rl":true,"mode":"url","value":"={{ $('🔗 Merge Config').item.json.config_document_link }}"}},"credentials":{"googleSheetsOAuth2Api":{"id":"credential-id","name":"Google Sheets (hi@linkedapi.io)"}},"typeVersion":4.7},{"id":"337e0bf4-7880-4b3c-a1b8-95ab6baf8c8b","name":"💾 Update Sheet (EXPIRED)","type":"n8n-nodes-base.googleSheets","position":[2768,-1472],"parameters":{"columns":{"value":{"Status":"=CONNECTION_EXPIRED","row_number":"={{ $('🔗 Merge Config').item.json.lead_row_number }}","Message stage":"=","Next send date":"=","Next check date":"=","Last action date":"={{ $now.toFormat('M/d/yyyy HH:mm') }}"},"schema":[{"id":"LinkedIn URL","type":"string","display":true,"removed":false,"required":false,"displayName":"LinkedIn URL","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Name","type":"string","display":true,"removed":false,"required":false,"displayName":"Name","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Company","type":"string","display":true,"removed":false,"required":false,"displayName":"Company","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Status","type":"string","display":true,"removed":false,"required":false,"displayName":"Status","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Connection note","type":"string","display":true,"removed":false,"required":false,"displayName":"Connection note","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Message 1","type":"string","display":true,"removed":false,"required":false,"displayName":"Message 1","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Message 2","type":"string","display":true,"removed":false,"required":false,"displayName":"Message 2","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Message 3","type":"string","display":true,"removed":false,"required":false,"displayName":"Message 3","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Message stage","type":"string","display":true,"removed":false,"required":false,"displayName":"Message stage","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Next send date","type":"string","display":true,"removed":false,"required":false,"displayName":"Next send date","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Next check date","type":"string","display":true,"removed":false,"required":false,"displayName":"Next check date","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Last action date","type":"string","display":true,"removed":false,"required":false,"displayName":"Last action date","defaultMatch":false,"canBeUsedToMatch":true},{"id":"row_number","type":"number","display":true,"removed":false,"readOnly":true,"required":false,"displayName":"row_number","defaultMatch":false,"canBeUsedToMatch":true}],"mappingMode":"defineBelow","matchingColumns":["row_number"],"attemptToConvertTypes":false,"convertFieldsToString":false},"options":{},"operation":"update","sheetName":{"__rl":true,"mode":"name","value":"={{ $('🔗 Merge Config').item.json.config_sheet_name }}"},"documentId":{"__rl":true,"mode":"url","value":"={{ $('🔗 Merge Config').item.json.config_document_link }}"}},"credentials":{"googleSheetsOAuth2Api":{"id":"credential-id","name":"Google Sheets (hi@linkedapi.io)"}},"typeVersion":4.7},{"id":"a9cc119c-634e-442f-ae2a-b70807b382e3","name":"💾 Update Sheet (STILL PENDING)","type":"n8n-nodes-base.googleSheets","position":[2768,-1280],"parameters":{"columns":{"value":{"row_number":"={{ $('🔗 Merge Config').item.json.lead_row_number }}","Next check date":"={{ $now.plus({ hours: $('🔗 Merge Config').item.json.config_hours_check_connection }).toFormat('M/d/yyyy HH:mm') }}"},"schema":[{"id":"LinkedIn URL","type":"string","display":true,"removed":false,"required":false,"displayName":"LinkedIn URL","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Name","type":"string","display":true,"removed":false,"required":false,"displayName":"Name","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Company","type":"string","display":true,"removed":false,"required":false,"displayName":"Company","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Status","type":"string","display":true,"removed":false,"required":false,"displayName":"Status","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Connection note","type":"string","display":true,"removed":false,"required":false,"displayName":"Connection note","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Message 1","type":"string","display":true,"removed":false,"required":false,"displayName":"Message 1","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Message 2","type":"string","display":true,"removed":false,"required":false,"displayName":"Message 2","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Message 3","type":"string","display":true,"removed":false,"required":false,"displayName":"Message 3","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Message stage","type":"string","display":true,"removed":false,"required":false,"displayName":"Message stage","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Next send date","type":"string","display":true,"removed":true,"required":false,"displayName":"Next send date","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Next check date","type":"string","display":true,"removed":false,"required":false,"displayName":"Next check date","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Last action date","type":"string","display":true,"removed":true,"required":false,"displayName":"Last action date","defaultMatch":false,"canBeUsedToMatch":true},{"id":"row_number","type":"number","display":true,"removed":false,"readOnly":true,"required":false,"displayName":"row_number","defaultMatch":false,"canBeUsedToMatch":true}],"mappingMode":"defineBelow","matchingColumns":["row_number"],"attemptToConvertTypes":false,"convertFieldsToString":false},"options":{},"operation":"update","sheetName":{"__rl":true,"mode":"name","value":"={{ $('🔗 Merge Config').item.json.config_sheet_name }}"},"documentId":{"__rl":true,"mode":"url","value":"={{ $('🔗 Merge Config').item.json.config_document_link }}"}},"credentials":{"googleSheetsOAuth2Api":{"id":"credential-id","name":"Google Sheets (hi@linkedapi.io)"}},"typeVersion":4.7},{"id":"9ad33363-d0d4-493e-9206-58181f8ea8d7","name":"💾 Update Sheet (DECLINED)","type":"n8n-nodes-base.googleSheets","position":[2768,-1088],"parameters":{"columns":{"value":{"Status":"=DECLINED","row_number":"={{ $('🔗 Merge Config').item.json.lead_row_number }}","Last action date":"={{ $now.toFormat('M/d/yyyy HH:mm') }}"},"schema":[{"id":"LinkedIn URL","type":"string","display":true,"removed":true,"required":false,"displayName":"LinkedIn URL","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Name","type":"string","display":true,"removed":true,"required":false,"displayName":"Name","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Company","type":"string","display":true,"removed":true,"required":false,"displayName":"Company","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Status","type":"string","display":true,"removed":false,"required":false,"displayName":"Status","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Connection note","type":"string","display":true,"removed":true,"required":false,"displayName":"Connection note","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Message 1","type":"string","display":true,"removed":true,"required":false,"displayName":"Message 1","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Message 2","type":"string","display":true,"removed":true,"required":false,"displayName":"Message 2","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Message 3","type":"string","display":true,"removed":true,"required":false,"displayName":"Message 3","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Message stage","type":"string","display":true,"removed":true,"required":false,"displayName":"Message stage","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Next send date","type":"string","display":true,"removed":true,"required":false,"displayName":"Next send date","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Next check date","type":"string","display":true,"removed":true,"required":false,"displayName":"Next check date","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Last action date","type":"string","display":true,"removed":false,"required":false,"displayName":"Last action date","defaultMatch":false,"canBeUsedToMatch":true},{"id":"row_number","type":"number","display":true,"removed":false,"readOnly":true,"required":false,"displayName":"row_number","defaultMatch":false,"canBeUsedToMatch":true}],"mappingMode":"defineBelow","matchingColumns":["row_number"],"attemptToConvertTypes":false,"convertFieldsToString":false},"options":{},"operation":"update","sheetName":{"__rl":true,"mode":"name","value":"={{ $('🔗 Merge Config').item.json.config_sheet_name }}"},"documentId":{"__rl":true,"mode":"url","value":"={{ $('🔗 Merge Config').item.json.config_document_link }}"}},"credentials":{"googleSheetsOAuth2Api":{"id":"credential-id","name":"Google Sheets (hi@linkedapi.io)"}},"typeVersion":4.7},{"id":"a62e1fea-313e-45a9-9021-9c4a08285dc1","name":"➡️ Do Nothing 0","type":"n8n-nodes-base.noOp","position":[3232,-1888],"parameters":{},"typeVersion":1},{"id":"6c5b694a-b812-4293-a451-e8d1bc8ebb6f","name":"➡️ Do Nothing 1","type":"n8n-nodes-base.noOp","position":[3248,-784],"parameters":{},"typeVersion":1},{"id":"35a991af-d320-4d1f-801b-cf45b6d5c26a","name":"➡️ Do Nothing 2","type":"n8n-nodes-base.noOp","position":[3248,-224],"parameters":{},"typeVersion":1},{"id":"c23e8a84-5383-4a12-b0f7-5f8998dc5bfe","name":"Sync conversation","type":"n8n-nodes-linked-api.linkedApi","position":[2432,-480],"parameters":{"operation":"syncConversation","personUrl":"={{ $('🔗 Merge Config').item.json.lead_url }}"},"credentials":{"linkedApi":{"id":"credential-id","name":"Vlad's Account"}},"typeVersion":1},{"id":"f7a6c188-67fa-455a-b961-284e7679dfa8","name":"Wait 'Sync conversation'","type":"n8n-nodes-base.wait","position":[2624,-480],"webhookId":"1e3d4a74-ec0d-4173-b025-4ae89c28a811","parameters":{"resume":"webhook","options":{}},"typeVersion":1.1},{"id":"ad443fbc-9f03-4dcd-8e1c-dfa08b50c635","name":"❓ Successfully Synced?","type":"n8n-nodes-base.if","position":[2816,-480],"parameters":{"options":{},"conditions":{"options":{"version":3,"leftValue":"","caseSensitive":true,"typeValidation":"strict"},"combinator":"and","conditions":[{"id":"cdc680c1-a619-4d8b-92da-2d2a4e206995","operator":{"type":"array","operation":"empty"},"leftValue":"={{ $json.body.errors }}","rightValue":""}]}},"typeVersion":2.3},{"id":"c0ab1884-16f9-4d35-9a3c-5844a538e966","name":"❓ Time to Check Reply?","type":"n8n-nodes-base.if","position":[1584,816],"parameters":{"options":{},"conditions":{"options":{"version":3,"leftValue":"","caseSensitive":true,"typeValidation":"loose"},"combinator":"or","conditions":[{"id":"7680a0b8-0b80-4622-a24f-5dbce9ccee4e","operator":{"type":"string","operation":"empty"},"leftValue":"={{ $('🔗 Merge Config').item.json.lead_next_check }}","rightValue":""},{"id":"fc44ab90-142b-45e4-bb24-a8742fd135f3","operator":{"type":"dateTime","operation":"beforeOrEquals"},"leftValue":"={{ DateTime.fromFormat($('🔗 Merge Config').item.json.lead_next_check, 'M/d/yyyy H:mm:ss') }}","rightValue":"={{ $now }}"}]},"looseTypeValidation":true},"typeVersion":2.3},{"id":"8d4898c5-5ab9-4e1e-99d1-bcb40c245480","name":"Poll conversations","type":"n8n-nodes-linked-api.linkedApi","position":[1712,400],"parameters":{"resource":"other","operation":"pollConversations","conversations":"=[\n  {\n    \"personUrl\": \"{{ $('🔗 Merge Config').item.json.lead_url }}\",\n    \"type\": \"st\",\n    \"since\": \"{{ DateTime.fromFormat($('🔗 Merge Config').item.json.lead_last_action, 'M/d/yyyy H:mm:ss').toISO() }}\"\n  }\n]"},"credentials":{"linkedApi":{"id":"credential-id","name":"Vlad's Account"}},"typeVersion":1},{"id":"40c88a6d-5810-432f-8019-50b8352102c3","name":"➡️ Do Nothing 3","type":"n8n-nodes-base.noOp","position":[3264,832],"parameters":{},"typeVersion":1},{"id":"344112c2-84bd-431f-86f5-c9b178722f2d","name":"💾 Update Sheet (REPLIED)","type":"n8n-nodes-base.googleSheets","position":[3024,0],"parameters":{"columns":{"value":{"Status":"=REPLIED","row_number":"={{ $('🔗 Merge Config').item.json.lead_row_number }}","Last action date":"={{ $now.toFormat('M/d/yyyy HH:mm') }}"},"schema":[{"id":"LinkedIn URL","type":"string","display":true,"removed":true,"required":false,"displayName":"LinkedIn URL","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Name","type":"string","display":true,"removed":true,"required":false,"displayName":"Name","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Company","type":"string","display":true,"removed":true,"required":false,"displayName":"Company","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Status","type":"string","display":true,"removed":false,"required":false,"displayName":"Status","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Connection note","type":"string","display":true,"removed":true,"required":false,"displayName":"Connection note","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Message 1","type":"string","display":true,"removed":true,"required":false,"displayName":"Message 1","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Message 2","type":"string","display":true,"removed":true,"required":false,"displayName":"Message 2","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Message 3","type":"string","display":true,"removed":true,"required":false,"displayName":"Message 3","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Message stage","type":"string","display":true,"removed":true,"required":false,"displayName":"Message stage","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Next send date","type":"string","display":true,"removed":true,"required":false,"displayName":"Next send date","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Next check date","type":"string","display":true,"removed":true,"required":false,"displayName":"Next check date","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Last action date","type":"string","display":true,"removed":false,"required":false,"displayName":"Last action date","defaultMatch":false,"canBeUsedToMatch":true},{"id":"row_number","type":"number","display":true,"removed":false,"readOnly":true,"required":false,"displayName":"row_number","defaultMatch":false,"canBeUsedToMatch":true}],"mappingMode":"defineBelow","matchingColumns":["row_number"],"attemptToConvertTypes":false,"convertFieldsToString":false},"options":{},"operation":"update","sheetName":{"__rl":true,"mode":"name","value":"={{ $('🔗 Merge Config').item.json.config_sheet_name }}"},"documentId":{"__rl":true,"mode":"url","value":"={{ $('🔗 Merge Config').item.json.config_document_link }}"}},"credentials":{"googleSheetsOAuth2Api":{"id":"credential-id","name":"Google Sheets (hi@linkedapi.io)"}},"typeVersion":4.7},{"id":"876b31d4-abcf-43c1-9097-404a563ba7e6","name":"❓ Person Replied?","type":"n8n-nodes-base.if","position":[1904,400],"parameters":{"options":{},"conditions":{"options":{"version":3,"leftValue":"","caseSensitive":true,"typeValidation":"strict"},"combinator":"and","conditions":[{"id":"07fd870d-f3d3-4d0f-869a-d61d138d60b3","operator":{"type":"boolean","operation":"true","singleValue":true},"leftValue":"={{ $json.data[0].messages.filter(item => item.sender === 'them').length > 0 }}","rightValue":""}]}},"typeVersion":2.3},{"id":"14705094-f28e-4e0a-97e8-443e656a7c7d","name":"❓ Time for Next Message?","type":"n8n-nodes-base.if","position":[2080,496],"parameters":{"options":{},"conditions":{"options":{"version":3,"leftValue":"","caseSensitive":true,"typeValidation":"strict"},"combinator":"or","conditions":[{"id":"86ab6e76-7637-49c3-8cd3-3e81a22b7901","operator":{"type":"string","operation":"empty"},"leftValue":"={{ $('🔗 Merge Config').item.json.lead_next_send }}","rightValue":""},{"id":"4ad83135-624c-4c57-9775-d3a967183b7c","operator":{"type":"dateTime","operation":"beforeOrEquals"},"leftValue":"={{ DateTime.fromFormat($('🔗 Merge Config').item.json.lead_next_send, 'M/d/yyyy H:mm:ss') }}","rightValue":"={{$now}}"}]}},"typeVersion":2.3},{"id":"32638dd5-e14b-4682-a958-3c3dc195fa0d","name":"❓ All Messages Already Sent?","type":"n8n-nodes-base.if","position":[2272,416],"parameters":{"options":{},"conditions":{"options":{"version":3,"leftValue":"","caseSensitive":true,"typeValidation":"strict"},"combinator":"or","conditions":[{"id":"86ab6e76-7637-49c3-8cd3-3e81a22b7901","operator":{"type":"string","operation":"equals"},"leftValue":"={{ $('🔗 Merge Config').item.json.lead_status }}","rightValue":"AWAITING_REPLY_3"}]}},"typeVersion":2.3},{"id":"0f28be2f-8b0d-41fc-babe-a599f12e8f8e","name":"💾 Update Sheet (NO_RESPONSE)","type":"n8n-nodes-base.googleSheets","position":[3024,192],"parameters":{"columns":{"value":{"Status":"=NO_RESPONSE","row_number":"={{ $('🔗 Merge Config').item.json.lead_row_number }}","Last action date":"={{ $now.toFormat('M/d/yyyy HH:mm') }}"},"schema":[{"id":"LinkedIn URL","type":"string","display":true,"removed":true,"required":false,"displayName":"LinkedIn URL","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Name","type":"string","display":true,"removed":true,"required":false,"displayName":"Name","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Company","type":"string","display":true,"removed":true,"required":false,"displayName":"Company","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Status","type":"string","display":true,"removed":false,"required":false,"displayName":"Status","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Connection note","type":"string","display":true,"removed":true,"required":false,"displayName":"Connection note","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Message 1","type":"string","display":true,"removed":true,"required":false,"displayName":"Message 1","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Message 2","type":"string","display":true,"removed":true,"required":false,"displayName":"Message 2","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Message 3","type":"string","display":true,"removed":true,"required":false,"displayName":"Message 3","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Message stage","type":"string","display":true,"removed":true,"required":false,"displayName":"Message stage","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Next send date","type":"string","display":true,"removed":true,"required":false,"displayName":"Next send date","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Next check date","type":"string","display":true,"removed":true,"required":false,"displayName":"Next check date","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Last action date","type":"string","display":true,"removed":false,"required":false,"displayName":"Last action date","defaultMatch":false,"canBeUsedToMatch":true},{"id":"row_number","type":"number","display":true,"removed":false,"readOnly":true,"required":false,"displayName":"row_number","defaultMatch":false,"canBeUsedToMatch":true}],"mappingMode":"defineBelow","matchingColumns":["row_number"],"attemptToConvertTypes":false,"convertFieldsToString":false},"options":{},"operation":"update","sheetName":{"__rl":true,"mode":"name","value":"={{ $('🔗 Merge Config').item.json.config_sheet_name }}"},"documentId":{"__rl":true,"mode":"url","value":"={{ $('🔗 Merge Config').item.json.config_document_link }}"}},"credentials":{"googleSheetsOAuth2Api":{"id":"credential-id","name":"Google Sheets (hi@linkedapi.io)"}},"typeVersion":4.7},{"id":"72679d05-bcbf-4737-b477-9f334f00eb4d","name":"Send N message","type":"n8n-nodes-linked-api.linkedApi","position":[2448,432],"parameters":{"operation":"sendMessage","personUrl":"={{ $('🔗 Merge Config').item.json.lead_url }}","messageText":"={{ $('🔗 Merge Config').item.json.lead_status === 'AWAITING_REPLY_1' ? $('🔗 Merge Config').item.json.lead_message_2 : $('🔗 Merge Config').item.json.lead_message_3 }}"},"credentials":{"linkedApi":{"id":"credential-id","name":"Vlad's Account"}},"typeVersion":1},{"id":"43b26a4b-c8e0-4b3e-bee1-f2504a67ac32","name":"Wait 'Send N message'","type":"n8n-nodes-base.wait","position":[2624,432],"webhookId":"c2097680-bbaa-4278-93d4-b2bffd1a0b0f","parameters":{"resume":"webhook","options":{}},"typeVersion":1.1},{"id":"81bc783e-7a1e-4f44-aae7-3b4180c11907","name":"❓ Successfully Sent N Message?","type":"n8n-nodes-base.if","position":[2800,432],"parameters":{"options":{},"conditions":{"options":{"version":3,"leftValue":"","caseSensitive":true,"typeValidation":"strict"},"combinator":"and","conditions":[{"id":"07fd870d-f3d3-4d0f-869a-d61d138d60b3","operator":{"type":"array","operation":"empty"},"leftValue":"={{ $json.body.errors }}","rightValue":""}]}},"typeVersion":2.3},{"id":"61854836-4c5e-4ffe-8bd2-f69aff7a3dc3","name":"💾 Update Sheet (MESSAGE ERROR)","type":"n8n-nodes-base.googleSheets","position":[3024,576],"parameters":{"columns":{"value":{"Status":"=ERROR","row_number":"={{ $('🔗 Merge Config').item.json.lead_row_number }}","Last action date":"={{ $now.toFormat('M/d/yyyy HH:mm') }}"},"schema":[{"id":"LinkedIn URL","type":"string","display":true,"removed":true,"required":false,"displayName":"LinkedIn URL","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Name","type":"string","display":true,"removed":true,"required":false,"displayName":"Name","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Company","type":"string","display":true,"removed":true,"required":false,"displayName":"Company","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Status","type":"string","display":true,"removed":false,"required":false,"displayName":"Status","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Connection note","type":"string","display":true,"removed":true,"required":false,"displayName":"Connection note","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Message 1","type":"string","display":true,"removed":true,"required":false,"displayName":"Message 1","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Message 2","type":"string","display":true,"removed":true,"required":false,"displayName":"Message 2","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Message 3","type":"string","display":true,"removed":true,"required":false,"displayName":"Message 3","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Message stage","type":"string","display":true,"removed":true,"required":false,"displayName":"Message stage","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Next send date","type":"string","display":true,"removed":true,"required":false,"displayName":"Next send date","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Next check date","type":"string","display":true,"removed":true,"required":false,"displayName":"Next check date","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Last action date","type":"string","display":true,"removed":false,"required":false,"displayName":"Last action date","defaultMatch":false,"canBeUsedToMatch":true},{"id":"row_number","type":"number","display":true,"removed":false,"readOnly":true,"required":false,"displayName":"row_number","defaultMatch":false,"canBeUsedToMatch":true}],"mappingMode":"defineBelow","matchingColumns":["row_number"],"attemptToConvertTypes":false,"convertFieldsToString":false},"options":{},"operation":"update","sheetName":{"__rl":true,"mode":"name","value":"={{ $('🔗 Merge Config').item.json.config_sheet_name }}"},"documentId":{"__rl":true,"mode":"url","value":"={{ $('🔗 Merge Config').item.json.config_document_link }}"}},"credentials":{"googleSheetsOAuth2Api":{"id":"credential-id","name":"Google Sheets (hi@linkedapi.io)"}},"typeVersion":4.7},{"id":"db7b6772-257c-4c1d-a8b4-ab8d315d89b6","name":"💾 Update Sheet (next check time)","type":"n8n-nodes-base.googleSheets","position":[2272,576],"parameters":{"columns":{"value":{"row_number":"={{ $('🔗 Merge Config').item.json.lead_row_number }}","Next check date":"={{ $now.plus({ hours: $('🔗 Merge Config').item.json.config_hours_check_reply }).toFormat('M/d/yyyy HH:mm') }}","Last action date":"={{ $now.toFormat('M/d/yyyy HH:mm') }}"},"schema":[{"id":"LinkedIn URL","type":"string","display":true,"removed":true,"required":false,"displayName":"LinkedIn URL","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Name","type":"string","display":true,"removed":true,"required":false,"displayName":"Name","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Company","type":"string","display":true,"removed":true,"required":false,"displayName":"Company","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Status","type":"string","display":true,"removed":true,"required":false,"displayName":"Status","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Connection note","type":"string","display":true,"removed":true,"required":false,"displayName":"Connection note","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Message 1","type":"string","display":true,"removed":true,"required":false,"displayName":"Message 1","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Message 2","type":"string","display":true,"removed":true,"required":false,"displayName":"Message 2","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Message 3","type":"string","display":true,"removed":true,"required":false,"displayName":"Message 3","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Message stage","type":"string","display":true,"removed":true,"required":false,"displayName":"Message stage","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Next send date","type":"string","display":true,"removed":true,"required":false,"displayName":"Next send date","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Next check date","type":"string","display":true,"removed":false,"required":false,"displayName":"Next check date","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Last action date","type":"string","display":true,"removed":false,"required":false,"displayName":"Last action date","defaultMatch":false,"canBeUsedToMatch":true},{"id":"row_number","type":"number","display":true,"removed":false,"readOnly":true,"required":false,"displayName":"row_number","defaultMatch":false,"canBeUsedToMatch":true}],"mappingMode":"defineBelow","matchingColumns":["row_number"],"attemptToConvertTypes":false,"convertFieldsToString":false},"options":{},"operation":"update","sheetName":{"__rl":true,"mode":"name","value":"={{ $('🔗 Merge Config').item.json.config_sheet_name }}"},"documentId":{"__rl":true,"mode":"url","value":"={{ $('🔗 Merge Config').item.json.config_document_link }}"}},"credentials":{"googleSheetsOAuth2Api":{"id":"credential-id","name":"Google Sheets (hi@linkedapi.io)"}},"typeVersion":4.7},{"id":"18e3c785-3a5a-4326-b91d-fa37c9ecd7fa","name":"💾 Update Sheet (AWAITING_REPLY_2/3)","type":"n8n-nodes-base.googleSheets","position":[3024,384],"parameters":{"columns":{"value":{"Status":"={{ $('🔗 Merge Config').item.json.lead_status === 'AWAITING_REPLY_1' ? 'AWAITING_REPLY_2' : 'AWAITING_REPLY_3' }}","row_number":"={{ $('🔗 Merge Config').item.json.lead_row_number }}","Next send date":"={{ $('🔗 Merge Config').item.json.lead_status === 'AWAITING_REPLY_1' ? $now.plus({ days: $('🔗 Merge Config').item.json.config_config_days_between_msgs }).toFormat('M/d/yyyy HH:mm') : $now.plus({ days: $('🔗 Merge Config').item.json.config_days_wait_last }).toFormat('M/d/yyyy HH:mm')","Next check date":"={{ $now.plus({ hours: $('🔗 Merge Config').item.json.config_hours_check_reply }).toFormat('M/d/yyyy HH:mm') }}","Last action date":"={{ $now.toFormat('M/d/yyyy HH:mm') }}"},"schema":[{"id":"LinkedIn URL","type":"string","display":true,"removed":true,"required":false,"displayName":"LinkedIn URL","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Name","type":"string","display":true,"removed":true,"required":false,"displayName":"Name","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Company","type":"string","display":true,"removed":true,"required":false,"displayName":"Company","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Status","type":"string","display":true,"removed":false,"required":false,"displayName":"Status","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Connection note","type":"string","display":true,"removed":true,"required":false,"displayName":"Connection note","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Message 1","type":"string","display":true,"removed":true,"required":false,"displayName":"Message 1","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Message 2","type":"string","display":true,"removed":true,"required":false,"displayName":"Message 2","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Message 3","type":"string","display":true,"removed":true,"required":false,"displayName":"Message 3","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Message stage","type":"string","display":true,"removed":true,"required":false,"displayName":"Message stage","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Next send date","type":"string","display":true,"removed":false,"required":false,"displayName":"Next send date","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Next check date","type":"string","display":true,"removed":false,"required":false,"displayName":"Next check date","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Last action date","type":"string","display":true,"removed":false,"required":false,"displayName":"Last action date","defaultMatch":false,"canBeUsedToMatch":true},{"id":"row_number","type":"number","display":true,"removed":false,"readOnly":true,"required":false,"displayName":"row_number","defaultMatch":false,"canBeUsedToMatch":true}],"mappingMode":"defineBelow","matchingColumns":["row_number"],"attemptToConvertTypes":false,"convertFieldsToString":false},"options":{},"operation":"update","sheetName":{"__rl":true,"mode":"name","value":"={{ $('🔗 Merge Config').item.json.config_sheet_name }}"},"documentId":{"__rl":true,"mode":"url","value":"={{ $('🔗 Merge Config').item.json.config_document_link }}"}},"credentials":{"googleSheetsOAuth2Api":{"id":"credential-id","name":"Google Sheets (hi@linkedapi.io)"}},"typeVersion":4.7},{"id":"f4680a4f-7b2b-4e9a-9c5a-f7c7537acd57","name":"💾 Update Sheet (AWAITING_REPLY_1)","type":"n8n-nodes-base.googleSheets","position":[3056,-496],"parameters":{"columns":{"value":{"Status":"=AWAITING_REPLY_1","row_number":"={{ $('🔗 Merge Config').item.json.lead_row_number }}","Next send date":"={{ $now.plus({ days: $('🔗 Merge Config').item.json.config_days_between_msgs }).toFormat('M/d/yyyy HH:mm') }}","Next check date":"={{ $now.plus({ hours: $('🔗 Merge Config').item.json.config_hours_check_reply }).toFormat('M/d/yyyy HH:mm') }}","Last action date":"={{ $now.toFormat('M/d/yyyy HH:mm') }}"},"schema":[{"id":"LinkedIn URL","type":"string","display":true,"removed":true,"required":false,"displayName":"LinkedIn URL","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Name","type":"string","display":true,"removed":true,"required":false,"displayName":"Name","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Company","type":"string","display":true,"removed":true,"required":false,"displayName":"Company","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Status","type":"string","display":true,"removed":false,"required":false,"displayName":"Status","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Connection note","type":"string","display":true,"removed":true,"required":false,"displayName":"Connection note","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Message 1","type":"string","display":true,"removed":true,"required":false,"displayName":"Message 1","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Message 2","type":"string","display":true,"removed":true,"required":false,"displayName":"Message 2","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Message 3","type":"string","display":true,"removed":true,"required":false,"displayName":"Message 3","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Message stage","type":"string","display":true,"removed":true,"required":false,"displayName":"Message stage","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Next send date","type":"string","display":true,"removed":false,"required":false,"displayName":"Next send date","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Next check date","type":"string","display":true,"removed":false,"required":false,"displayName":"Next check date","defaultMatch":false,"canBeUsedToMatch":true},{"id":"Last action date","type":"string","display":true,"removed":false,"required":false,"displayName":"Last action date","defaultMatch":false,"canBeUsedToMatch":true},{"id":"row_number","type":"number","display":true,"removed":false,"readOnly":true,"required":false,"displayName":"row_number","defaultMatch":false,"canBeUsedToMatch":true}],"mappingMode":"defineBelow","matchingColumns":["row_number"],"attemptToConvertTypes":false,"convertFieldsToString":false},"options":{},"operation":"update","sheetName":{"__rl":true,"mode":"name","value":"={{ $('🔗 Merge Config').item.json.config_sheet_name }}"},"documentId":{"__rl":true,"mode":"url","value":"={{ $('🔗 Merge Config').item.json.config_document_link }}"}},"credentials":{"googleSheetsOAuth2Api":{"id":"credential-id","name":"Google Sheets (hi@linkedapi.io)"}},"typeVersion":4.7},{"id":"limit-daily-connections","name":"📊 Limit Daily Connections","type":"n8n-nodes-base.code","position":[656,288],"parameters":{"jsCode":"// Get all items from input\nconst items = $input.all();\nconst config = $('⚙️ Config').first().json;\nconst dailyLimit = config.DAILY_CONNECTION_LIMIT;\n\n// Get today's date (start of day)\nconst today = new Date();\ntoday.setHours(0, 0, 0, 0);\n\n// Count how many connection requests were sent today\n// by checking leads with Status = PENDING_CONNECTION and Last action date = today\nlet sentToday = 0;\nfor (const item of items) {\n  const lastActionDateStr = item.json['Last action date'];\n  const status = item.json.Status;\n  \n  if (lastActionDateStr && status === 'PENDING_CONNECTION') {\n    // Parse date in format M/d/yyyy H:mm:ss\n    const lastActionDate = new Date(lastActionDateStr);\n    lastActionDate.setHours(0, 0, 0, 0);\n    \n    if (lastActionDate.getTime() === today.getTime()) {\n      sentToday++;\n    }\n  }\n}\n\n// Calculate remaining quota\nconst remainingQuota = Math.max(0, dailyLimit - sentToday);\n\nconsole.log(`Daily limit: ${dailyLimit}, Sent today: ${sentToday}, Remaining quota: ${remainingQuota}`);\n\n// If no quota left, filter out all NEW leads\nif (remainingQuota === 0) {\n  return items.filter(item => item.json.Status !== 'NEW');\n}\n\n// Separate NEW leads from others\nconst newLeads = [];\nconst otherLeads = [];\n\nfor (const item of items) {\n  if (item.json.Status === 'NEW') {\n    newLeads.push(item);\n  } else {\n    otherLeads.push(item);\n  }\n}\n\n// Limit NEW leads to remaining quota\nconst limitedNewLeads = newLeads.slice(0, remainingQuota);\n\nconsole.log(`NEW leads: ${newLeads.length}, Limited to: ${limitedNewLeads.length}, Other leads: ${otherLeads.length}`);\n\n// Return limited NEW leads + all other leads\nreturn [...limitedNewLeads, ...otherLeads];"},"typeVersion":2},{"id":"75284978-eff4-4a7d-b461-ced26aed5232","name":"Overview","type":"n8n-nodes-base.stickyNote","position":[-224,-384],"parameters":{"width":480,"height":488,"content":"## LinkedIn Outreach Automation\n## How it works\n1. **Trigger** runs every 2 hours, loads leads from Google Sheets\n2. **Routes** each lead by status:\n   - `NEW` → sends connection request\n   - `PENDING` → checks if accepted/declined/expired\n   - `CONNECTED` → sends first message\n   - `AWAITING_REPLY` → checks for reply, sends follow-ups\n3. **Updates** Google Sheet with new status and timestamps\n\n## Setup steps\n1. **Copy** [Google Sheet template](https://docs.google.com/spreadsheets/d/141fJskisAQ7H8AxtojQ7LZrnd14EOyB26RdDq5aczEU/copy)\n2. **Connect credentials** in n8n:\n   - Google Sheets (OAuth2)\n   - Linked API ([get key](https://app.linkedapi.io))\n3. **Paste** your Sheet URL into `DOCUMENT_LINK` in Config node\n4. **Add leads** with Status = `NEW`, fill Message 1/2/3\n5. **Activate** workflow (toggle top-right)"},"typeVersion":1},{"id":"sticky-new-connection","name":"Sticky Note NEW","type":"n8n-nodes-base.stickyNote","position":[1680,-2224],"parameters":{"color":7,"width":396,"height":80,"content":"### NEW → Send Connection\nSends connection request, updates status to `PENDING`"},"typeVersion":1},{"id":"sticky-pending-check","name":"Sticky Note PENDING","type":"n8n-nodes-base.stickyNote","position":[1680,-1184],"parameters":{"color":7,"width":380,"height":80,"content":"### PENDING → Check Status\nChecks if connection accepted, declined, or expired"},"typeVersion":1},{"id":"sticky-connected-message","name":"Sticky Note CONNECTED","type":"n8n-nodes-base.stickyNote","position":[1696,-496],"parameters":{"color":7,"width":380,"height":80,"content":"### CONNECTED → Send Message\nSends first message after connection accepted"},"typeVersion":1},{"id":"sticky-awaiting-reply","name":"Sticky Note AWAITING","type":"n8n-nodes-base.stickyNote","position":[1696,288],"parameters":{"color":7,"width":400,"height":80,"content":"### AWAITING_REPLY → Follow-up\nChecks for reply, sends follow-up messages (2 & 3)"},"typeVersion":1},{"id":"sticky-trigger-config","name":"Sticky Note Config","type":"n8n-nodes-base.stickyNote","position":[-224,176],"parameters":{"color":7,"width":420,"height":80,"content":"### Trigger & Config\nRuns every 2 hours. Edit `Config` node to change settings."},"typeVersion":1},{"id":"sticky-configuration","name":"Sticky Note Configuration","type":"n8n-nodes-base.stickyNote","position":[-224,448],"parameters":{"color":4,"width":808,"height":316,"content":"### Configuration\n\nAll settings in `Config` node:\n\n- `DOCUMENT_LINK` – URL to your Google Sheet\n- `SHEET_NAME` – Name of the sheet with leads (default: Leads)\n- `DAILY_CONNECTION_LIMIT` – Max connection requests per day (default: 25)\n- `HOURS_TO_CHECK_IF_CONNECTION_ACCEPTED` – Check frequency for connection acceptance (default: 24)\n- `HOURS_TO_CHECK_IF_REPLIED` – Check frequency for message replies (default: 4)\n- `HOURS_DELAY_AFTER_CONNECTION_ACCEPTED` – Delay before first message (default: 24)\n- `DAYS_DELAY_BETWEEN_MESSAGES` – Delay between follow-ups (default: 2)\n- `DAYS_WAIT_FOR_CONNECTION_ACCEPTANCE` – Timeout for connection requests (default: 10)\n- `DAYS_WAIT_AFTER_LAST_MESSAGE` – Days to wait after last message before marking as no response (default: 4)"},"typeVersion":1}],"active":false,"pinData":{},"settings":{"callerPolicy":"workflowsFromSameOwner","availableInMCP":false,"executionOrder":"v1"},"versionId":"87fe0622-0bb2-4576-b035-38b718c74610","connections":{"Send message":{"main":[[{"node":"Wait 'Send message'","type":"main","index":0}]]},"⚙️ Config":{"main":[[{"node":"📥 Get All Leads","type":"main","index":0}]]},"Send N message":{"main":[[{"node":"Wait 'Send N message'","type":"main","index":0}]]},"Sync conversation":{"main":[[{"node":"Wait 'Sync conversation'","type":"main","index":0}]]},"⏰ Every 2 hours":{"main":[[{"node":"⚙️ Config","type":"main","index":0}]]},"🔗 Merge Config":{"main":[[{"node":"🔀 Route by Status","type":"main","index":0}]]},"Poll conversations":{"main":[[{"node":"❓ Person Replied?","type":"main","index":0}]]},"❓ Time to Check?":{"main":[[{"node":"Check connection status","type":"main","index":0}],[{"node":"➡️ Do Nothing 1","type":"main","index":0}]]},"📥 Get All Leads":{"main":[[{"node":"🔍 Filter Active Leads","type":"main","index":0}]]},"Wait 'Send message'":{"main":[[{"node":"❓ Successfully Sent Message?","type":"main","index":0}]]},"❓ Person Replied?":{"main":[[{"node":"💾 Update Sheet (REPLIED)","type":"main","index":0}],[{"node":"❓ Time for Next Message?","type":"main","index":0}]]},"➡️ Do Nothing 0":{"main":[[{"node":"➡️ Combine Branches","type":"main","index":0}]]},"➡️ Do Nothing 1":{"main":[[{"node":"➡️ Combine Branches","type":"main","index":0}]]},"➡️ Do Nothing 2":{"main":[[{"node":"➡️ Combine Branches","type":"main","index":0}]]},"➡️ Do Nothing 3":{"main":[[{"node":"➡️ Combine Branches","type":"main","index":0}]]},"🔀 Route by Status":{"main":[[{"node":"❓ Time to Send Connection?","type":"main","index":0}],[{"node":"❓ Time to Check?","type":"main","index":0}],[{"node":"❓ Time to Send Message?","type":"main","index":0}],[{"node":"❓ Time to Check Reply?","type":"main","index":0}],[{"node":"❓ Time to Check Reply?","type":"main","index":0}],[{"node":"❓ Time to Check Reply?","type":"main","index":0}]]},"🔄 Loop Over Items":{"main":[[],[{"node":"🔗 Merge Config","type":"main","index":0}]]},"Wait 'Send N message'":{"main":[[{"node":"❓ Successfully Sent N Message?","type":"main","index":0}]]},"Check connection status":{"main":[[{"node":"Wait 'Check connection status'","type":"main","index":0}]]},"Send connection request":{"main":[[{"node":"Wait 'Send connection request'","type":"main","index":0}]]},"❓ Connection Expired?":{"main":[[{"node":"💾 Update Sheet (EXPIRED)","type":"main","index":0}],[{"node":"💾 Update Sheet (STILL PENDING)","type":"main","index":0}]]},"➡️ Combine Branches":{"main":[[{"node":"🔄 Loop Over Items","type":"main","index":0}]]},"Wait 'Sync conversation'":{"main":[[{"node":"❓ Successfully Synced?","type":"main","index":0}]]},"❓ Successfully Synced?":{"main":[[{"node":"💾 Update Sheet (AWAITING_REPLY_1)","type":"main","index":0}],[{"node":"➡️ Do Nothing 2","type":"main","index":0}]]},"❓ Time to Check Reply?":{"main":[[{"node":"Poll conversations","type":"main","index":0}],[{"node":"➡️ Do Nothing 3","type":"main","index":0}]]},"🔍 Filter Active Leads":{"main":[[{"node":"📊 Limit Daily Connections","type":"main","index":0}]]},"❓ Time to Send Message?":{"main":[[{"node":"Send message","type":"main","index":0}],[{"node":"➡️ Do Nothing 2","type":"main","index":0}]]},"❓ Time for Next Message?":{"main":[[{"node":"❓ All Messages Already Sent?","type":"main","index":0}],[{"node":"💾 Update Sheet (next check time)","type":"main","index":0}]]},"💾 Update Sheet (EXPIRED)":{"main":[[{"node":"➡️ Do Nothing 1","type":"main","index":0}]]},"💾 Update Sheet (PENDING)":{"main":[[{"node":"➡️ Do Nothing 0","type":"main","index":0}]]},"💾 Update Sheet (REPLIED)":{"main":[[{"node":"➡️ Do Nothing 3","type":"main","index":0}]]},"❓ Time to Send Connection?":{"main":[[{"node":"Send connection request","type":"main","index":0}],[{"node":"➡️ Do Nothing 0","type":"main","index":0}]]},"💾 Update Sheet (DECLINED)":{"main":[[{"node":"➡️ Do Nothing 1","type":"main","index":0}]]},"📊 Limit Daily Connections":{"main":[[{"node":"🔄 Loop Over Items","type":"main","index":0}]]},"💾 Update Sheet (CONNECTED)":{"main":[[{"node":"➡️ Do Nothing 1","type":"main","index":0}]]},"Wait 'Check connection status'":{"main":[[{"node":"🔀 Route by Connection Status","type":"main","index":0}]]},"Wait 'Send connection request'":{"main":[[{"node":"❓ Successfully Sent Connection?","type":"main","index":0}]]},"❓ All Messages Already Sent?":{"main":[[{"node":"💾 Update Sheet (NO_RESPONSE)","type":"main","index":0}],[{"node":"Send N message","type":"main","index":0}]]},"❓ Successfully Sent Message?":{"main":[[{"node":"Sync conversation","type":"main","index":0}],[{"node":"➡️ Do Nothing 2","type":"main","index":0}]]},"💾 Update Sheet (NO_RESPONSE)":{"main":[[{"node":"➡️ Do Nothing 3","type":"main","index":0}]]},"🔀 Route by Connection Status":{"main":[[{"node":"💾 Update Sheet (CONNECTED)","type":"main","index":0}],[{"node":"❓ Connection Expired?","type":"main","index":0}],[{"node":"💾 Update Sheet (DECLINED)","type":"main","index":0}],[{"node":"➡️ Do Nothing 1","type":"main","index":0}]]},"❓ Successfully Sent N Message?":{"main":[[{"node":"💾 Update Sheet (AWAITING_REPLY_2/3)","type":"main","index":0}],[{"node":"💾 Update Sheet (MESSAGE ERROR)","type":"main","index":0}]]},"❓ Successfully Sent Connection?":{"main":[[{"node":"💾 Update Sheet (PENDING)","type":"main","index":0}],[{"node":"💾 Update Sheet (CONNECTION ERROR)","type":"main","index":0}]]},"💾 Update Sheet (MESSAGE ERROR)":{"main":[[{"node":"➡️ Do Nothing 3","type":"main","index":0}]]},"💾 Update Sheet (STILL PENDING)":{"main":[[{"node":"➡️ Do Nothing 1","type":"main","index":0}]]},"💾 Update Sheet (next check time)":{"main":[[{"node":"➡️ Do Nothing 3","type":"main","index":0}]]},"💾 Update Sheet (AWAITING_REPLY_1)":{"main":[[{"node":"➡️ Do Nothing 2","type":"main","index":0}]]},"💾 Update Sheet (CONNECTION ERROR)":{"main":[[{"node":"➡️ Do Nothing 0","type":"main","index":0}]]},"💾 Update Sheet (AWAITING_REPLY_2/3)":{"main":[[{"node":"➡️ Do Nothing 3","type":"main","index":0}]]}}},"lastUpdatedBy":1,"workflowInfo":{"nodeCount":56,"nodeTypes":{"n8n-nodes-base.if":{"count":12},"n8n-nodes-base.set":{"count":2},"n8n-nodes-base.code":{"count":1},"n8n-nodes-base.noOp":{"count":5},"n8n-nodes-base.wait":{"count":5},"n8n-nodes-base.filter":{"count":1},"n8n-nodes-base.switch":{"count":2},"n8n-nodes-base.stickyNote":{"count":7},"n8n-nodes-base.googleSheets":{"count":13},"n8n-nodes-base.splitInBatches":{"count":1},"n8n-nodes-base.scheduleTrigger":{"count":1},"n8n-nodes-linked-api.linkedApi":{"count":6}}},"status":"published","readyToDemo":null,"user":{"name":"Linked API","username":"linkedapi","bio":"Control your LinkedIn accounts and retrieve real-time data, all through one API.","verified":false,"links":["https://linkedapi.io"],"avatar":"https://gravatar.com/avatar/1cfcff02e8bf0092a1ce7956ad15dd6f28c932ae4d6cb1d6ea16f5723cef7d7a?r=pg&d=retro&size=200"},"nodes":[{"id":18,"icon":"file:googleSheets.svg","name":"n8n-nodes-base.googleSheets","codex":{"data":{"alias":["CSV","Sheet","Spreadsheet","GS"],"resources":{"generic":[{"url":"https://n8n.io/blog/love-at-first-sight-ricardos-n8n-journey/","icon":"❤️","label":"Love at first sight: Ricardo’s n8n journey"},{"url":"https://n8n.io/blog/why-business-process-automation-with-n8n-can-change-your-daily-life/","icon":"🧬","label":"Why business process automation with n8n can change your daily life"},{"url":"https://n8n.io/blog/automatically-adding-expense-receipts-to-google-sheets-with-telegram-mindee-twilio-and-n8n/","icon":"🧾","label":"Automatically Adding Expense Receipts to Google Sheets with Telegram, Mindee, Twilio, and n8n"},{"url":"https://n8n.io/blog/supercharging-your-conference-registration-process-with-n8n/","icon":"🎫","label":"Supercharging your conference registration process with n8n"},{"url":"https://n8n.io/blog/creating-triggers-for-n8n-workflows-using-polling/","icon":"⏲","label":"Creating triggers for n8n workflows using polling"},{"url":"https://n8n.io/blog/no-code-ecommerce-workflow-automations/","icon":"store","label":"6 e-commerce workflows to power up your Shopify s"},{"url":"https://n8n.io/blog/migrating-community-metrics-to-orbit-using-n8n/","icon":"📈","label":"Migrating Community Metrics to Orbit using n8n"},{"url":"https://n8n.io/blog/automate-google-apps-for-productivity/","icon":"💡","label":"15 Google apps you can combine and automate to increase productivity"},{"url":"https://n8n.io/blog/your-business-doesnt-need-you-to-operate/","icon":" 🖥️","label":"Hey founders! Your business doesn't need you to operate"},{"url":"https://n8n.io/blog/how-honest-burgers-use-automation-to-save-100k-per-year/","icon":"🍔","label":"How Honest Burgers Use Automation to Save $100k per year"},{"url":"https://n8n.io/blog/how-a-digital-strategist-uses-n8n-for-online-marketing/","icon":"💻","label":"How a digital strategist uses n8n for online marketing"},{"url":"https://n8n.io/blog/why-this-product-manager-loves-workflow-automation-with-n8n/","icon":"🧠","label":"Why this Product Manager loves workflow automation with n8n"},{"url":"https://n8n.io/blog/sending-automated-congratulations-with-google-sheets-twilio-and-n8n/","icon":"🙌","label":"Sending Automated Congratulations with Google Sheets, Twilio, and n8n "},{"url":"https://n8n.io/blog/how-a-membership-development-manager-automates-his-work-and-investments/","icon":"📈","label":"How a Membership Development Manager automates his work and investments"},{"url":"https://n8n.io/blog/aws-workflow-automation/","label":"7 no-code workflow automations for Amazon Web Services"}],"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.googlesheets/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/credentials/google/oauth-single-service/"}]},"categories":["Data & Storage","Productivity"],"nodeVersion":"1.0","codexVersion":"1.0"}},"group":"[\"input\",\"output\"]","defaults":{"name":"Google Sheets"},"iconData":{"type":"file","fileBuffer":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjxwYXRoIGZpbGw9IiMyOEI0NDYiIGQ9Ik0zNS42OSAxIDUyIDE3LjIyNXYzOS4wODdhMy42NyAzLjY3IDAgMCAxLTEuMDg0IDIuNjFBMy43IDMuNyAwIDAgMSA0OC4yOTMgNjBIMTIuNzA3YTMuNyAzLjcgMCAwIDEtMi42MjMtMS4wNzhBMy42NyAzLjY3IDAgMCAxIDkgNTYuMzEyVjQuNjg4YTMuNjcgMy42NyAwIDAgMSAxLjA4NC0yLjYxQTMuNyAzLjcgMCAwIDEgMTIuNzA3IDF6Ii8+PHBhdGggZmlsbD0iIzZBQ0U3QyIgZD0iTTM1LjY5IDEgNTIgMTcuMjI1SDM5LjM5N2MtMi4wNTQgMC0zLjcwNy0xLjgyOS0zLjcwNy0zLjg3MnoiLz48cGF0aCBmaWxsPSIjMjE5QjM4IiBkPSJNMzkuMjExIDE3LjIyNSA1MiAyMi40OHYtNS4yNTV6Ii8+PHBhdGggZmlsbD0iI0ZGRiIgZD0iTTIwLjEyIDMxLjk3NWMwLS44MTcuNjYyLTEuNDc1IDEuNDgzLTEuNDc1aDE3Ljc5NGMuODIxIDAgMS40ODIuNjU4IDEuNDgyIDEuNDc1djE1LjQ4N2MwIC44MTgtLjY2MSAxLjQ3NS0xLjQ4MiAxLjQ3NUgyMS42MDNhMS40NzYgMS40NzYgMCAwIDEtMS40ODItMS40NzRWMzEuOTc0em0yLjIyNSAxLjQ3NWg2LjY3MnYyLjIxMmgtNi42NzJ6bTAgNS4xNjJoNi42NzJ2Mi4yMTNoLTYuNjcyem0wIDUuMTYzaDYuNjcydjIuMjEyaC02LjY3MnptOS42MzgtMTAuMzI1aDYuNjcydjIuMjEyaC02LjY3MnptMCA1LjE2Mmg2LjY3MnYyLjIxM2gtNi42NzJ6bTAgNS4xNjNoNi42NzJ2Mi4yMTJoLTYuNjcyeiIvPjxwYXRoIGZpbGw9IiMyOEI0NDYiIGQ9Ik0zNC42OSAwIDUxIDE2LjIyNXYzOS4wODdhMy42NyAzLjY3IDAgMCAxLTEuMDg0IDIuNjFBMy43IDMuNyAwIDAgMSA0Ny4yOTMgNTlIMTEuNzA3YTMuNyAzLjcgMCAwIDEtMi42MjMtMS4wNzhBMy42NyAzLjY3IDAgMCAxIDggNTUuMzEyVjMuNjg4YTMuNjcgMy42NyAwIDAgMSAxLjA4NC0yLjYxQTMuNyAzLjcgMCAwIDEgMTEuNzA3IDB6Ii8+PHBhdGggZmlsbD0iIzZBQ0U3QyIgZD0iTTM0LjY5IDAgNTEgMTYuMjI1SDM4LjM5N2MtMi4wNTQgMC0zLjcwNy0xLjgyOS0zLjcwNy0zLjg3MnoiLz48cGF0aCBmaWxsPSIjMjE5QjM4IiBkPSJNMzguMjExIDE2LjIyNSA1MSAyMS40OHYtNS4yNTV6Ii8+PHBhdGggZmlsbD0iI0ZGRiIgZD0iTTE5LjEyIDMwLjk3NWMwLS44MTcuNjYyLTEuNDc1IDEuNDgzLTEuNDc1aDE3Ljc5NGMuODIxIDAgMS40ODIuNjU4IDEuNDgyIDEuNDc1djE1LjQ4N2MwIC44MTgtLjY2MSAxLjQ3NS0xLjQ4MiAxLjQ3NUgyMC42MDNhMS40NzYgMS40NzYgMCAwIDEtMS40ODItMS40NzRWMzAuOTc0em0yLjIyNSAxLjQ3NWg2LjY3MnYyLjIxMmgtNi42NzJ6bTAgNS4xNjJoNi42NzJ2Mi4yMTNoLTYuNjcyem0wIDUuMTYzaDYuNjcydjIuMjEyaC02LjY3MnptOS42MzgtMTAuMzI1aDYuNjcydjIuMjEyaC02LjY3MnptMCA1LjE2Mmg2LjY3MnYyLjIxM2gtNi42NzJ6bTAgNS4xNjNoNi42NzJ2Mi4yMTJoLTYuNjcyeiIvPjwvZz48L3N2Zz4="},"displayName":"Google Sheets","typeVersion":5,"nodeCategories":[{"id":3,"name":"Data & Storage"},{"id":4,"name":"Productivity"}]},{"id":20,"icon":"fa:map-signs","name":"n8n-nodes-base.if","codex":{"data":{"alias":["Router","Filter","Condition","Logic","Boolean","Branch"],"details":"The IF node can be used to implement binary conditional logic in your workflow. You can set up one-to-many conditions to evaluate each item of data being inputted into the node. That data will either evaluate to TRUE or FALSE and route out of the node accordingly.\n\nThis node has multiple types of conditions: Bool, String, Number, and Date & Time.","resources":{"generic":[{"url":"https://n8n.io/blog/learn-to-automate-your-factorys-incident-reporting-a-step-by-step-guide/","icon":"🏭","label":"Learn to Automate Your Factory's Incident Reporting: A Step by Step Guide"},{"url":"https://n8n.io/blog/2021-the-year-to-automate-the-new-you-with-n8n/","icon":"☀️","label":"2021: The Year to Automate the New You with n8n"},{"url":"https://n8n.io/blog/why-business-process-automation-with-n8n-can-change-your-daily-life/","icon":"🧬","label":"Why business process automation with n8n can change your daily life"},{"url":"https://n8n.io/blog/create-a-toxic-language-detector-for-telegram/","icon":"🤬","label":"Create a toxic language detector for Telegram in 4 step"},{"url":"https://n8n.io/blog/no-code-ecommerce-workflow-automations/","icon":"store","label":"6 e-commerce workflows to power up your Shopify s"},{"url":"https://n8n.io/blog/how-to-build-a-low-code-self-hosted-url-shortener/","icon":"🔗","label":"How to build a low-code, self-hosted URL shortener in 3 steps"},{"url":"https://n8n.io/blog/automate-your-data-processing-pipeline-in-9-steps-with-n8n/","icon":"⚙️","label":"Automate your data processing pipeline in 9 steps"},{"url":"https://n8n.io/blog/how-to-get-started-with-crm-automation-and-no-code-workflow-ideas/","icon":"👥","label":"How to get started with CRM automation (with 3 no-code workflow ideas"},{"url":"https://n8n.io/blog/5-tasks-you-can-automate-with-notion-api/","icon":"⚡️","label":"5 tasks you can automate with the new Notion API "},{"url":"https://n8n.io/blog/automate-google-apps-for-productivity/","icon":"💡","label":"15 Google apps you can combine and automate to increase productivity"},{"url":"https://n8n.io/blog/automation-for-maintainers-of-open-source-projects/","icon":"🏷️","label":"How to automatically manage contributions to open-source projects"},{"url":"https://n8n.io/blog/how-uproc-scraped-a-multi-page-website-with-a-low-code-workflow/","icon":" 🕸️","label":"How uProc scraped a multi-page website with a low-code workflow"},{"url":"https://n8n.io/blog/5-workflow-automations-for-mattermost-that-we-love-at-n8n/","icon":"🤖","label":"5 workflow automations for Mattermost that we love at n8n"},{"url":"https://n8n.io/blog/why-this-product-manager-loves-workflow-automation-with-n8n/","icon":"🧠","label":"Why this Product Manager loves workflow automation with n8n"},{"url":"https://n8n.io/blog/sending-automated-congratulations-with-google-sheets-twilio-and-n8n/","icon":"🙌","label":"Sending Automated Congratulations with Google Sheets, Twilio, and n8n "},{"url":"https://n8n.io/blog/how-to-set-up-a-ci-cd-pipeline-with-no-code/","icon":"🎡","label":"How to set up a no-code CI/CD pipeline with GitHub and TravisCI"},{"url":"https://n8n.io/blog/benefits-of-automation-and-n8n-an-interview-with-hubspots-hugh-durkin/","icon":"🎖","label":"Benefits of automation and n8n: An interview with HubSpot's Hugh Durkin"},{"url":"https://n8n.io/blog/aws-workflow-automation/","label":"7 no-code workflow automations for Amazon Web Services"}],"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.if/"}]},"categories":["Core Nodes"],"nodeVersion":"1.0","codexVersion":"1.0","subcategories":{"Core Nodes":["Flow"]}}},"group":"[\"transform\"]","defaults":{"name":"If","color":"#408000"},"iconData":{"icon":"map-signs","type":"icon"},"displayName":"If","typeVersion":2,"nodeCategories":[{"id":9,"name":"Core Nodes"}]},{"id":26,"icon":"fa:arrow-right","name":"n8n-nodes-base.noOp","codex":{"data":{"alias":["nothing"],"resources":{"generic":[{"url":"https://n8n.io/blog/learn-to-automate-your-factorys-incident-reporting-a-step-by-step-guide/","icon":"🏭","label":"Learn to Automate Your Factory's Incident Reporting: A Step by Step Guide"},{"url":"https://n8n.io/blog/2021-the-year-to-automate-the-new-you-with-n8n/","icon":"☀️","label":"2021: The Year to Automate the New You with n8n"},{"url":"https://n8n.io/blog/create-a-toxic-language-detector-for-telegram/","icon":"🤬","label":"Create a toxic language detector for Telegram in 4 step"},{"url":"https://n8n.io/blog/no-code-ecommerce-workflow-automations/","icon":"store","label":"6 e-commerce workflows to power up your Shopify s"},{"url":"https://n8n.io/blog/automate-your-data-processing-pipeline-in-9-steps-with-n8n/","icon":"⚙️","label":"Automate your data processing pipeline in 9 steps"},{"url":"https://n8n.io/blog/how-to-get-started-with-crm-automation-and-no-code-workflow-ideas/","icon":"👥","label":"How to get started with CRM automation (with 3 no-code workflow ideas"},{"url":"https://n8n.io/blog/5-tasks-you-can-automate-with-notion-api/","icon":"⚡️","label":"5 tasks you can automate with the new Notion API "},{"url":"https://n8n.io/blog/5-workflow-automations-for-mattermost-that-we-love-at-n8n/","icon":"🤖","label":"5 workflow automations for Mattermost that we love at n8n"},{"url":"https://n8n.io/blog/sending-automated-congratulations-with-google-sheets-twilio-and-n8n/","icon":"🙌","label":"Sending Automated Congratulations with Google Sheets, Twilio, and n8n "},{"url":"https://n8n.io/blog/how-to-set-up-a-ci-cd-pipeline-with-no-code/","icon":"🎡","label":"How to set up a no-code CI/CD pipeline with GitHub and TravisCI"},{"url":"https://n8n.io/blog/benefits-of-automation-and-n8n-an-interview-with-hubspots-hugh-durkin/","icon":"🎖","label":"Benefits of automation and n8n: An interview with HubSpot's Hugh Durkin"},{"url":"https://n8n.io/blog/aws-workflow-automation/","label":"7 no-code workflow automations for Amazon Web Services"}],"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.noop/"}]},"categories":["Core Nodes"],"nodeVersion":"1.0","codexVersion":"1.0","subcategories":{"Core Nodes":["Helpers"]}}},"group":"[\"organization\"]","defaults":{"name":"No Operation, do nothing","color":"#b0b0b0"},"iconData":{"icon":"arrow-right","type":"icon"},"displayName":"No Operation, do nothing","typeVersion":1,"nodeCategories":[{"id":9,"name":"Core Nodes"}]},{"id":38,"icon":"fa:pen","name":"n8n-nodes-base.set","codex":{"data":{"alias":["Set","JS","JSON","Filter","Transform","Map"],"resources":{"generic":[{"url":"https://n8n.io/blog/learn-to-automate-your-factorys-incident-reporting-a-step-by-step-guide/","icon":"🏭","label":"Learn to Automate Your Factory's Incident Reporting: A Step by Step Guide"},{"url":"https://n8n.io/blog/2021-the-year-to-automate-the-new-you-with-n8n/","icon":"☀️","label":"2021: The Year to Automate the New You with n8n"},{"url":"https://n8n.io/blog/automatically-pulling-and-visualizing-data-with-n8n/","icon":"📈","label":"Automatically pulling and visualizing data with n8n"},{"url":"https://n8n.io/blog/database-monitoring-and-alerting-with-n8n/","icon":"📡","label":"Database Monitoring and Alerting with n8n"},{"url":"https://n8n.io/blog/automatically-adding-expense-receipts-to-google-sheets-with-telegram-mindee-twilio-and-n8n/","icon":"🧾","label":"Automatically Adding Expense Receipts to Google Sheets with Telegram, Mindee, Twilio, and n8n"},{"url":"https://n8n.io/blog/no-code-ecommerce-workflow-automations/","icon":"store","label":"6 e-commerce workflows to power up your Shopify s"},{"url":"https://n8n.io/blog/how-to-build-a-low-code-self-hosted-url-shortener/","icon":"🔗","label":"How to build a low-code, self-hosted URL shortener in 3 steps"},{"url":"https://n8n.io/blog/automate-your-data-processing-pipeline-in-9-steps-with-n8n/","icon":"⚙️","label":"Automate your data processing pipeline in 9 steps"},{"url":"https://n8n.io/blog/how-to-get-started-with-crm-automation-and-no-code-workflow-ideas/","icon":"👥","label":"How to get started with CRM automation (with 3 no-code workflow ideas"},{"url":"https://n8n.io/blog/5-tasks-you-can-automate-with-notion-api/","icon":"⚡️","label":"5 tasks you can automate with the new Notion API "},{"url":"https://n8n.io/blog/automate-google-apps-for-productivity/","icon":"💡","label":"15 Google apps you can combine and automate to increase productivity"},{"url":"https://n8n.io/blog/how-uproc-scraped-a-multi-page-website-with-a-low-code-workflow/","icon":" 🕸️","label":"How uProc scraped a multi-page website with a low-code workflow"},{"url":"https://n8n.io/blog/building-an-expense-tracking-app-in-10-minutes/","icon":"📱","label":"Building an expense tracking app in 10 minutes"},{"url":"https://n8n.io/blog/the-ultimate-guide-to-automate-your-video-collaboration-with-whereby-mattermost-and-n8n/","icon":"📹","label":"The ultimate guide to automate your video collaboration with Whereby, Mattermost, and n8n"},{"url":"https://n8n.io/blog/5-workflow-automations-for-mattermost-that-we-love-at-n8n/","icon":"🤖","label":"5 workflow automations for Mattermost that we love at n8n"},{"url":"https://n8n.io/blog/learn-to-build-powerful-api-endpoints-using-webhooks/","icon":"🧰","label":"Learn to Build Powerful API Endpoints Using Webhooks"},{"url":"https://n8n.io/blog/how-a-membership-development-manager-automates-his-work-and-investments/","icon":"📈","label":"How a Membership Development Manager automates his work and investments"},{"url":"https://n8n.io/blog/a-low-code-bitcoin-ticker-built-with-questdb-and-n8n-io/","icon":"📈","label":"A low-code bitcoin ticker built with QuestDB and n8n.io"},{"url":"https://n8n.io/blog/how-to-set-up-a-ci-cd-pipeline-with-no-code/","icon":"🎡","label":"How to set up a no-code CI/CD pipeline with GitHub and TravisCI"},{"url":"https://n8n.io/blog/benefits-of-automation-and-n8n-an-interview-with-hubspots-hugh-durkin/","icon":"🎖","label":"Benefits of automation and n8n: An interview with HubSpot's Hugh Durkin"},{"url":"https://n8n.io/blog/how-goomer-automated-their-operations-with-over-200-n8n-workflows/","icon":"🛵","label":"How Goomer automated their operations with over 200 n8n workflows"},{"url":"https://n8n.io/blog/aws-workflow-automation/","label":"7 no-code workflow automations for Amazon Web Services"}],"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.set/"}]},"categories":["Core Nodes"],"nodeVersion":"1.0","codexVersion":"1.0","subcategories":{"Core Nodes":["Data Transformation"]}}},"group":"[\"input\"]","defaults":{"name":"Edit Fields"},"iconData":{"icon":"pen","type":"icon"},"displayName":"Edit Fields (Set)","typeVersion":3,"nodeCategories":[{"id":9,"name":"Core Nodes"}]},{"id":39,"icon":"fa:sync","name":"n8n-nodes-base.splitInBatches","codex":{"data":{"alias":["Loop","Concatenate","Batch","Split","Split In Batches"],"resources":{"generic":[{"url":"https://n8n.io/blog/how-uproc-scraped-a-multi-page-website-with-a-low-code-workflow/","icon":" 🕸️","label":"How uProc scraped a multi-page website with a low-code workflow"},{"url":"https://n8n.io/blog/benefits-of-automation-and-n8n-an-interview-with-hubspots-hugh-durkin/","icon":"🎖","label":"Benefits of automation and n8n: An interview with HubSpot's Hugh Durkin"}],"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.splitinbatches/"}]},"categories":["Core Nodes"],"nodeVersion":"1.0","codexVersion":"1.0","subcategories":{"Core Nodes":["Flow"]}}},"group":"[\"organization\"]","defaults":{"name":"Loop Over Items","color":"#007755"},"iconData":{"icon":"sync","type":"icon"},"displayName":"Loop Over Items (Split in Batches)","typeVersion":3,"nodeCategories":[{"id":9,"name":"Core Nodes"}]},{"id":112,"icon":"fa:map-signs","name":"n8n-nodes-base.switch","codex":{"data":{"alias":["Router","If","Path","Filter","Condition","Logic","Branch","Case"],"resources":{"generic":[{"url":"https://n8n.io/blog/2021-the-year-to-automate-the-new-you-with-n8n/","icon":"☀️","label":"2021: The Year to Automate the New You with n8n"},{"url":"https://n8n.io/blog/how-to-get-started-with-crm-automation-and-no-code-workflow-ideas/","icon":"👥","label":"How to get started with CRM automation (with 3 no-code workflow ideas"},{"url":"https://n8n.io/blog/build-your-own-virtual-assistant-with-n8n-a-step-by-step-guide/","icon":"👦","label":"Build your own virtual assistant with n8n: A step by step guide"},{"url":"https://n8n.io/blog/automation-for-maintainers-of-open-source-projects/","icon":"🏷️","label":"How to automatically manage contributions to open-source projects"}],"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.switch/"}]},"categories":["Core Nodes"],"nodeVersion":"1.0","codexVersion":"1.0","subcategories":{"Core Nodes":["Flow"]}}},"group":"[\"transform\"]","defaults":{"name":"Switch","color":"#506000"},"iconData":{"icon":"map-signs","type":"icon"},"displayName":"Switch","typeVersion":3,"nodeCategories":[{"id":9,"name":"Core Nodes"}]},{"id":514,"icon":"fa:pause-circle","name":"n8n-nodes-base.wait","codex":{"data":{"alias":["pause","sleep","delay","timeout"],"resources":{"generic":[{"url":"https://n8n.io/blog/how-to-get-started-with-crm-automation-and-no-code-workflow-ideas/","icon":"👥","label":"How to get started with CRM automation (with 3 no-code workflow ideas"},{"url":"https://n8n.io/blog/aws-workflow-automation/","label":"7 no-code workflow automations for Amazon Web Services"}],"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.wait/"}]},"categories":["Core Nodes"],"nodeVersion":"1.0","codexVersion":"1.0","subcategories":{"Core Nodes":["Helpers","Flow"]}}},"group":"[\"organization\"]","defaults":{"name":"Wait","color":"#804050"},"iconData":{"icon":"pause-circle","type":"icon"},"displayName":"Wait","typeVersion":1,"nodeCategories":[{"id":9,"name":"Core Nodes"}]},{"id":565,"icon":"fa:sticky-note","name":"n8n-nodes-base.stickyNote","codex":{"data":{"alias":["Comments","Notes","Sticky"],"categories":["Core Nodes"],"nodeVersion":"1.0","codexVersion":"1.0","subcategories":{"Core Nodes":["Helpers"]}}},"group":"[\"input\"]","defaults":{"name":"Sticky Note","color":"#FFD233"},"iconData":{"icon":"sticky-note","type":"icon"},"displayName":"Sticky Note","typeVersion":1,"nodeCategories":[{"id":9,"name":"Core Nodes"}]},{"id":834,"icon":"file:code.svg","name":"n8n-nodes-base.code","codex":{"data":{"alias":["cpde","Javascript","JS","Python","Script","Custom Code","Function"],"details":"The Code node allows you to execute JavaScript in your workflow.","resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.code/"}]},"categories":["Development","Core Nodes"],"nodeVersion":"1.0","codexVersion":"1.0","subcategories":{"Core Nodes":["Helpers","Data Transformation"]}}},"group":"[\"transform\"]","defaults":{"name":"Code"},"iconData":{"type":"file","fileBuffer":"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTEyIiBoZWlnaHQ9IjUxMiIgdmlld0JveD0iMCAwIDUxMiA1MTIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMF8xMTcxXzQ0MSkiPgo8cGF0aCBkPSJNMTcwLjI4MyA0OEgxOTYuNUMyMDMuMTI3IDQ4IDIwOC41IDQyLjYyNzQgMjA4LjUgMzZWMTJDMjA4LjUgNS4zNzI1OCAyMDMuMTI3IDAgMTk2LjUgMEgxNzAuMjgzQzEyNi4xIDAgOTAuMjgzIDM1LjgxNzIgOTAuMjgzIDgwVjE3NkM5MC4yODMgMjA2LjkyOCA2NS4yMTA5IDIzMiAzNC4yODMgMjMySDIzQzE2LjM3MjYgMjMyIDExIDIzNy4zNzIgMTEgMjQ0VjI2OEMxMSAyNzQuNjI3IDE2LjM3MjQgMjgwIDIyLjk5OTYgMjgwTDM0LjI4MyAyODBDNjUuMjEwOSAyODAgOTAuMjgzIDMwNS4wNzIgOTAuMjgzIDMzNlY0NDBDOTAuMjgzIDQ3OS43NjQgMTIyLjUxOCA1MTIgMTYyLjI4MyA1MTJIMTk2LjVDMjAzLjEyNyA1MTIgMjA4LjUgNTA2LjYyNyAyMDguNSA1MDBWNDc2QzIwOC41IDQ2OS4zNzMgMjAzLjEyNyA0NjQgMTk2LjUgNDY0SDE2Mi4yODNDMTQ5LjAyOCA0NjQgMTM4LjI4MyA0NTMuMjU1IDEzOC4yODMgNDQwVjMzNkMxMzguMjgzIDMwOS4wMjIgMTI4LjAxMSAyODQuNDQzIDExMS4xNjQgMjY1Ljk2MUMxMDYuMTA5IDI2MC40MTYgMTA2LjEwOSAyNTEuNTg0IDExMS4xNjQgMjQ2LjAzOUMxMjguMDExIDIyNy41NTcgMTM4LjI4MyAyMDIuOTc4IDEzOC4yODMgMTc2VjgwQzEzOC4yODMgNjIuMzI2OSAxNTIuNjEgNDggMTcwLjI4MyA0OFoiIGZpbGw9IiNGRjk5MjIiLz4KPHBhdGggZD0iTTMwNSAzNkMzMDUgNDIuNjI3NCAzMTAuMzczIDQ4IDMxNyA0OEgzNDIuOTc5QzM2MC42NTIgNDggMzc0Ljk3OCA2Mi4zMjY5IDM3NC45NzggODBWMTc2QzM3NC45NzggMjAyLjk3OCAzODUuMjUxIDIyNy41NTcgNDAyLjA5OCAyNDYuMDM5QzQwNy4xNTMgMjUxLjU4NCA0MDcuMTUzIDI2MC40MTYgNDAyLjA5OCAyNjUuOTYxQzM4NS4yNTEgMjg0LjQ0MyAzNzQuOTc4IDMwOS4wMjIgMzc0Ljk3OCAzMzZWNDMyQzM3NC45NzggNDQ5LjY3MyAzNjAuNjUyIDQ2NCAzNDIuOTc5IDQ2NEgzMTdDMzEwLjM3MyA0NjQgMzA1IDQ2OS4zNzMgMzA1IDQ3NlY1MDBDMzA1IDUwNi42MjcgMzEwLjM3MyA1MTIgMzE3IDUxMkgzNDIuOTc5QzM4Ny4xNjEgNTEyIDQyMi45NzggNDc2LjE4MyA0MjIuOTc4IDQzMlYzMzZDNDIyLjk3OCAzMDUuMDcyIDQ0OC4wNTEgMjgwIDQ3OC45NzkgMjgwSDQ5MEM0OTYuNjI3IDI4MCA1MDIgMjc0LjYyOCA1MDIgMjY4VjI0NEM1MDIgMjM3LjM3MyA0OTYuNjI4IDIzMiA0OTAgMjMyTDQ3OC45NzkgMjMyQzQ0OC4wNTEgMjMyIDQyMi45NzggMjA2LjkyOCA0MjIuOTc4IDE3NlY4MEM0MjIuOTc4IDM1LjgxNzIgMzg3LjE2MSAwIDM0Mi45NzkgMEgzMTdDMzEwLjM3MyAwIDMwNSA1LjM3MjU4IDMwNSAxMlYzNloiIGZpbGw9IiNGRjk5MjIiLz4KPC9nPgo8ZGVmcz4KPGNsaXBQYXRoIGlkPSJjbGlwMF8xMTcxXzQ0MSI+CjxyZWN0IHdpZHRoPSI1MTIiIGhlaWdodD0iNTEyIiBmaWxsPSJ3aGl0ZSIvPgo8L2NsaXBQYXRoPgo8L2RlZnM+Cjwvc3ZnPgo="},"displayName":"Code","typeVersion":2,"nodeCategories":[{"id":5,"name":"Development"},{"id":9,"name":"Core Nodes"}]},{"id":839,"icon":"fa:clock","name":"n8n-nodes-base.scheduleTrigger","codex":{"data":{"alias":["Time","Scheduler","Polling","Cron","Interval"],"resources":{"generic":[],"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.scheduletrigger/"}]},"categories":["Core Nodes"],"nodeVersion":"1.0","codexVersion":"1.0"}},"group":"[\"trigger\",\"schedule\"]","defaults":{"name":"Schedule Trigger","color":"#31C49F"},"iconData":{"icon":"clock","type":"icon"},"displayName":"Schedule Trigger","typeVersion":1,"nodeCategories":[{"id":9,"name":"Core Nodes"}]},{"id":844,"icon":"fa:filter","name":"n8n-nodes-base.filter","codex":{"data":{"alias":["Router","Filter","Condition","Logic","Boolean","Branch"],"details":"The Filter node can be used to filter items based on a condition. If the condition is met, the item will be passed on to the next node. If the condition is not met, the item will be omitted. Conditions can be combined together by AND(meet all conditions), or OR(meet at least one condition).","resources":{"generic":[],"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.filter/"}]},"categories":["Core Nodes"],"nodeVersion":"1.0","codexVersion":"1.0","subcategories":{"Core Nodes":["Flow","Data Transformation"]}}},"group":"[\"transform\"]","defaults":{"name":"Filter","color":"#229eff"},"iconData":{"icon":"filter","type":"icon"},"displayName":"Filter","typeVersion":2,"nodeCategories":[{"id":9,"name":"Core Nodes"}]}],"categories":[{"id":38,"name":"Lead Nurturing"}],"image":[]}}