Workflow: MiniBear Webhook
Integrations: httpRequest, if, microsoftOneDrive, microsoftTeams, microsoftToDo, noOp, stickyNote, switch, webhook

{"id": "HbjZ9cBPgDdnIRjG", "meta": {"instanceId": "workflow-241737f5", "versionId": "1.0.0", "createdAt": "2025-09-29T07:07:50.978984", "updatedAt": "2025-09-29T07:07:50.979000", "owner": "n8n-user", "license": "MIT", "category": "automation", "status": "active", "priority": "high", "environment": "production"}, "name": "MiniBear Webhook", "tags": ["automation", "n8n", "production-ready", "excellent", "optimized"], "nodes": [{"id": "b1f42cbd-952e-4704-9233-788891e1894d", "name": "Line Webhook", "type": "n8n-nodes-base.webhook", "position": [-260, -20], "webhookId": "4ef1a53c-a1ec-4a63-a7a5-469423502333", "parameters": {"path": "minibear", "options": {}, "httpMethod": "POST"}, "typeVersion": 2, "notes": "This webhook node performs automated tasks as part of the workflow."}, {"id": "ae4a46d6-0f34-484b-8be5-dbc07d5de92e", "name": "Line Loading Animation", "type": "n8n-nodes-base.httpRequest", "position": [120, -20], "parameters": {"url": "{{ $env.API_BASE_URL }}", "method": "POST", "options": {}, "jsonBody": "={\n    \"chatId\": \"{{ $json.body.events[0].source.userId }}\",\n    \"loadingSeconds\": 60\n}", "sendBody": true, "specifyBody": "json", "authentication": "{{ $credentials.genericCredentialType }}", "genericAuthType": "httpHeaderAuth"}, "credentials": {"httpHeaderAuth": {"id": "lKd3b2nc8uNJ148Z", "name": "Line @271dudsw MiniBear"}}, "typeVersion": 4.2, "notes": "This httpRequest node performs automated tasks as part of the workflow."}, {"id": "802eb4b2-ed1c-4cbc-9cf9-9bd8fec74b82", "name": "Sticky Note1", "type": "n8n-nodes-base.stickyNote", "position": [-380, -100], "parameters": {"color": 4, "width": 360, "height": 560, "content": "**Webhook from Line**\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nYou need to set-up this webhook at Line Manager or Line Developer Console\n\nYou'll need to copy Webhook URL from this node to put in Line Console\n\nAlso, don't forget to remove 'test' part when going for production\n\n{{ $env.API_BASE_URL }}\n"}, "typeVersion": 1, "notes": "This stickyNote node performs automated tasks as part of the workflow."}, {"id": "965612b6-bd04-44e9-9b95-d777f92e9acf", "name": "Sticky Note2", "type": "n8n-nodes-base.stickyNote", "position": [0, -100], "parameters": {"color": 4, "width": 360, "height": 560, "content": "**Line Loading Animation**\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nThis node is to only give ... loading animation back in Line.\n\nIt seems stupid but it actually tells user that the workflow is running and you are not left waiting without hope\n\nTo authorize, you can fill in the Line Token in the node here, or you can you header authorization (shown at the 'reply message' node)\n\n{{ $env.API_BASE_URL }}"}, "typeVersion": 1, "notes": "This stickyNote node performs automated tasks as part of the workflow."}, {"id": "92953054-43a6-44a3-8069-6147cbb837c3", "name": "Switch", "type": "n8n-nodes-base.switch", "position": [500, 80], "parameters": {"rules": {"values": [{"outputKey": "YOUR_CREDENTIAL_HERE", "conditions": {"options": {"version": 2, "leftValue": "", "caseSensitive": true, "typeValidation": "strict"}, "combinator": "and", "conditions": [{"id": "6f9aef97-cf2f-4f8e-bbc5-c17069a24c57", "operator": {"type": "string", "operation": "startsWith"}, "leftValue": "={{ $('Line Webhook').item.json.body.events[0].message.text }}", "rightValue": "T "}]}, "renameOutput": true}, {"outputKey": "YOUR_CREDENTIAL_HERE", "conditions": {"options": {"version": 2, "leftValue": "", "caseSensitive": true, "typeValidation": "strict"}, "combinator": "and", "conditions": [{"id": "9f8075cf-8f3f-419f-ae0a-833ee29fc063", "operator": {"type": "string", "operation": "equals"}, "leftValue": "={{ $('Line Webhook').item.json.body.events[0].message.type }}", "rightValue": "text"}]}, "renameOutput": true}, {"outputKey": "YOUR_CREDENTIAL_HERE", "conditions": {"options": {"version": 2, "leftValue": "", "caseSensitive": true, "typeValidation": "strict"}, "combinator": "and", "conditions": [{"id": "b7770f5b-dfb5-4b7a-8dc1-4404337dbfde", "operator": {"name": "filter.operator.equals", "type": "string", "operation": "equals"}, "leftValue": "={{ $('Line Webhook').item.json.body.events[0].message.type }}", "rightValue": "image"}]}, "renameOutput": true}, {"outputKey": "YOUR_CREDENTIAL_HERE", "conditions": {"options": {"version": 2, "leftValue": "", "caseSensitive": true, "typeValidation": "strict"}, "combinator": "and", "conditions": [{"id": "9faa9dd4-32ce-4287-b7e5-885a42a62e32", "operator": {"name": "filter.operator.equals", "type": "string", "operation": "equals"}, "leftValue": "={{ $('Line Webhook').item.json.body.events[0].message.type }}", "rightValue": "audio"}]}, "renameOutput": true}, {"outputKey": "YOUR_CREDENTIAL_HERE", "conditions": {"options": {"version": 2, "leftValue": "", "caseSensitive": true, "typeValidation": "strict"}, "combinator": "and", "conditions": [{"id": "f4dbfa6a-a7f8-4c32-a94d-da384f37c0d1", "operator": {"type": "boolean", "operation": "true", "singleValue": true}, "leftValue": true, "rightValue": ""}]}, "renameOutput": true}]}, "options": {}}, "typeVersion": 3.2, "notes": "This switch node performs automated tasks as part of the workflow."}, {"id": "ae9e08a3-0106-4e49-85b3-84eb9696673c", "name": "Sticky Note5", "type": "n8n-nodes-base.stickyNote", "position": [380, -100], "parameters": {"color": 5, "width": 360, "height": 560, "content": "**Router for Tasks (Text started with 'T'), other texts, images and others**"}, "typeVersion": 1, "notes": "This stickyNote node performs automated tasks as part of the workflow."}, {"id": "933b7da4-95fd-4bb2-ac46-3eac62d0dcaa", "name": "Get Image", "type": "n8n-nodes-base.httpRequest", "position": [900, 80], "parameters": {"url": "{{ $env.BASE_URL }}", "options": {}, "authentication": "{{ $credentials.genericCredentialType }}", "genericAuthType": "httpHeaderAuth"}, "credentials": {"httpHeaderAuth": {"id": "lKd3b2nc8uNJ148Z", "name": "Line @271dudsw MiniBear"}}, "typeVersion": 4.2, "notes": "This httpRequest node performs automated tasks as part of the workflow."}, {"id": "d1160e8d-b84a-4e76-b5cc-f8c960a6070b", "name": "Sticky Note9", "type": "n8n-nodes-base.stickyNote", "position": [820, 460], "parameters": {"color": 4, "width": 360, "height": 480, "content": "**Line Reply**\nTo reply that message is not supported\n\n\n\n\n\n\n\n\n\n\n"}, "typeVersion": 1, "notes": "This stickyNote node performs automated tasks as part of the workflow."}, {"id": "b169657d-5348-4662-bdcf-6617416ec9f7", "name": "Line Reply (image)", "type": "n8n-nodes-base.httpRequest", "position": [3140, 200], "parameters": {"url": "{{ $env.API_BASE_URL }}", "method": "POST", "options": {}, "jsonBody": "={\n  \"replyToken\": \"{{ $('Line Webhook').item.json.body.events[0].replyToken }}\",\n  \"messages\": [\n    {\n      \"type\": \"text\",\n      \"text\": \"[ Message Saved in Zac&Lin > Notes ]\"\n    }\n  ]\n} ", "sendBody": true, "specifyBody": "json", "authentication": "{{ $credentials.genericCredentialType }}", "genericAuthType": "httpHeaderAuth"}, "credentials": {"httpHeaderAuth": {"id": "lKd3b2nc8uNJ148Z", "name": "Line @271dudsw MiniBear"}}, "typeVersion": 4.2, "notes": "This httpRequest node performs automated tasks as part of the workflow."}, {"id": "b0f63685-e8df-484e-85ea-bedabd80b61e", "name": "Line Reply (Text)", "type": "n8n-nodes-base.httpRequest", "position": [1300, -340], "parameters": {"url": "{{ $env.API_BASE_URL }}", "method": "POST", "options": {}, "jsonBody": "={\n  \"replyToken\": \"{{ $('Line Webhook').item.json.body.events[0].replyToken }}\",\n  \"messages\": [\n    {\n      \"type\": \"text\",\n      \"text\": \"[ Message Saved in Zac&Lin > Notes ]\" \n    }\n  ]\n} ", "sendBody": true, "specifyBody": "json", "authentication": "{{ $credentials.genericCredentialType }}", "genericAuthType": "httpHeaderAuth"}, "credentials": {"httpHeaderAuth": {"id": "lKd3b2nc8uNJ148Z", "name": "Line @271dudsw MiniBear"}}, "typeVersion": 4.2, "notes": "This httpRequest node performs automated tasks as part of the workflow."}, {"id": "b2ee3bb5-7cdf-46de-868e-f6b81a2e0ec0", "name": "Line Reply (Not Supported 2)", "type": "n8n-nodes-base.httpRequest", "position": [940, 740], "parameters": {"url": "{{ $env.API_BASE_URL }}", "method": "POST", "options": {}, "jsonBody": "={\n  \"replyToken\": \"{{ $('Line Webhook').item.json.body.events[0].replyToken }}\",\n  \"messages\": [\n    {\n      \"type\": \"text\",\n      \"text\": \"Please try again. Message type is not supported\"\n    }\n  ]\n} ", "sendBody": true, "specifyBody": "json", "authentication": "{{ $credentials.genericCredentialType }}", "genericAuthType": "httpHeaderAuth"}, "credentials": {"httpHeaderAuth": {"id": "3IEOzxKOUr6OEXyU", "name": "Line @405jtfqs LazyChinese"}}, "typeVersion": 4.2, "notes": "This httpRequest node performs automated tasks as part of the workflow."}, {"id": "04f298c3-e952-4d85-aba7-0971d2f6a8b0", "name": "Line Reply (Not Supported 1)", "type": "n8n-nodes-base.httpRequest", "position": [940, 540], "parameters": {"url": "{{ $env.API_BASE_URL }}", "method": "POST", "options": {}, "jsonBody": "={\n  \"replyToken\": \"{{ $('Line Webhook').item.json.body.events[0].replyToken }}\",\n  \"messages\": [\n    {\n      \"type\": \"text\",\n      \"text\": \"Please try again. Message type is not supported\"\n    }\n  ]\n} ", "sendBody": true, "specifyBody": "json", "authentication": "{{ $credentials.genericCredentialType }}", "genericAuthType": "httpHeaderAuth"}, "credentials": {"httpHeaderAuth": {"id": "3IEOzxKOUr6OEXyU", "name": "Line @405jtfqs LazyChinese"}}, "typeVersion": 4.2, "notes": "This httpRequest node performs automated tasks as part of the workflow."}, {"id": "1d6d7c55-59ba-48c4-a877-6f260ede7bf5", "name": "OpenRouter Chat Model", "type": "n8n-nodes-base.noOp", "position": [1060, 200], "parameters": {"model": "openai/gpt-4o", "options": {}}, "credentials": {"openRouterApi": {"id": "iQS3GMHjRv36CWYD", "name": "n8n Lin"}}, "typeVersion": 1, "notes": "This lmChatOpenRouter node performs automated tasks as part of the workflow."}, {"id": "dae07428-733a-4976-9553-cba198736403", "name": "Image Router", "type": "n8n-nodes-base.noOp", "position": [1040, 80], "parameters": {"text": "You'll identify the image\n01 Namecard\n02 Text on screen or handwritten note\n03 Others\n\nYou'll answer with only 01 02 or 03", "options": {"passthroughBinaryImages": true}, "promptType": "define"}, "typeVersion": 1.8, "alwaysOutputData": true, "notes": "This agent node performs automated tasks as part of the workflow."}, {"id": "1810b10b-d326-4626-836c-4fb706deff20", "name": "Microsoft Teams", "type": "n8n-nodes-base.microsoftTeams", "position": [1020, -340], "webhookId": "3a9c75de-5207-4e9b-a558-6c2fd622fb5f", "parameters": {"teamId": {"__rl": true, "mode": "list", "value": "ebfd67d4-df6b-4ea2-9faf-81ec059170ad", "cachedResultName": "Zac&Lin"}, "message": "={{ $('Line Webhook').item.json.body.events[0].message.text.replace('\\n\\n', '<br><br>').replace('\\n', '<br>') }}", "options": {}, "resource": "channelMessage", "channelId": {"__rl": true, "mode": "list", "value": "19:c2966307089a4f4b98ca06b5f160999a@thread.tacv2", "cachedResultUrl": "{{ $env.WEBHOOK_URL }}", "cachedResultName": "Notes"}, "contentType": "html"}, "credentials": {"microsoftTeamsOAuth2Api": {"id": "3oENQ6chN2T1DR2x", "name": "Microsoft Teams account"}}, "typeVersion": 2, "notes": "This microsoftTeams node performs automated tasks as part of the workflow."}, {"id": "b98955e9-1c4c-473f-ac51-a8d73747ae63", "name": "Microsoft To Do", "type": "n8n-nodes-base.microsoftToDo", "position": [1020, -600], "parameters": {"title": "={{ $('Line Webhook').item.json.body.events[0].message.text.replace('T ','') }}", "operation": "create", "taskListId": "AQMkAGE1NDhhM2UxLTA3ZTQtNGIyYS1iOWFjLTlkNDAyYzkzNjE2YQAuAAADCPe-x7aF5Eqh4_vJsot6MAEAG9nUtifnkkavLabXdl_kugAAAgESAAAA", "additionalFields": {}}, "credentials": {"microsoftToDoOAuth2Api": {"id": "Pag1nTvXIzYpG5V1", "name": "Microsoft To Do account"}}, "typeVersion": 1, "notes": "This microsoftToDo node performs automated tasks as part of the workflow."}, {"id": "59202467-34c6-4580-8039-fca99c9467ca", "name": "Line Reply (Text)1", "type": "n8n-nodes-base.httpRequest", "position": [1300, -600], "parameters": {"url": "{{ $env.API_BASE_URL }}", "method": "POST", "options": {}, "jsonBody": "={\n  \"replyToken\": \"{{ $('Line Webhook').item.json.body.events[0].replyToken }}\",\n  \"messages\": [\n    {\n      \"type\": \"text\",\n      \"text\": \"[ Task : {{ $('Line Webhook').item.json.body.events[0].message.text.replace('T ','') }} created successfully in Private Task ]\" \n    }\n  ]\n} ", "sendBody": true, "specifyBody": "json", "authentication": "{{ $credentials.genericCredentialType }}", "genericAuthType": "httpHeaderAuth"}, "credentials": {"httpHeaderAuth": {"id": "lKd3b2nc8uNJ148Z", "name": "Line @271dudsw MiniBear"}}, "typeVersion": 4.2, "notes": "This httpRequest node performs automated tasks as part of the workflow."}, {"id": "525f0a8b-0c03-4182-ab2b-ff97ba6ad50d", "name": "If namecard", "type": "n8n-nodes-base.if", "position": [1480, 80], "parameters": {"options": {}, "conditions": {"options": {"version": 2, "leftValue": "", "caseSensitive": true, "typeValidation": "strict"}, "combinator": "and", "conditions": [{"id": "85dc209c-a217-46a7-8289-b3e98c128d05", "operator": {"name": "filter.operator.equals", "type": "string", "operation": "equals"}, "leftValue": "={{ $json.output }}", "rightValue": "01"}]}}, "typeVersion": 2.2, "notes": "This if node performs automated tasks as part of the workflow."}, {"id": "113ab6ea-d66d-4b8d-ae81-eee73439c90e", "name": "Other Images", "type": "n8n-nodes-base.noOp", "position": [2440, 200], "parameters": {"text": "=If the image is handwritten notes or text on screen in thai or english, you'll extract the text.\n\nElse, you'll describe the image", "options": {"passthroughBinaryImages": true}, "promptType": "define"}, "typeVersion": 1.8, "notes": "This agent node performs automated tasks as part of the workflow."}, {"id": "596a643e-757a-4b83-878b-f5a0f1c42886", "name": "Microsoft Teams1", "type": "n8n-nodes-base.microsoftTeams", "position": [2880, 200], "webhookId": "3a9c75de-5207-4e9b-a558-6c2fd622fb5f", "parameters": {"teamId": {"__rl": true, "mode": "list", "value": "ebfd67d4-df6b-4ea2-9faf-81ec059170ad", "cachedResultName": "Zac&Lin"}, "message": "={{ $json.output.replace('\\n\\n', '<br><br>').replace('\\n', '<br>') }}\n<br><br>\n<img src=\"{{ $('Get Image2').item.json['@microsoft.graph.downloadUrl'] }}\">\n</img>", "options": {}, "resource": "channelMessage", "channelId": {"__rl": true, "mode": "list", "value": "19:c2966307089a4f4b98ca06b5f160999a@thread.tacv2", "cachedResultUrl": "{{ $env.WEBHOOK_URL }}", "cachedResultName": "Notes"}, "contentType": "html"}, "credentials": {"microsoftTeamsOAuth2Api": {"id": "3oENQ6chN2T1DR2x", "name": "Microsoft Teams account"}}, "typeVersion": 2, "notes": "This microsoftTeams node performs automated tasks as part of the workflow."}, {"id": "be5637d9-50a7-4508-b6f9-d32ac37bb2c2", "name": "OpenRouter Chat Model2", "type": "n8n-nodes-base.noOp", "position": [2460, 320], "parameters": {"model": "openai/gpt-4o", "options": {}}, "credentials": {"openRouterApi": {"id": "iQS3GMHjRv36CWYD", "name": "n8n Lin"}}, "typeVersion": 1, "notes": "This lmChatOpenRouter node performs automated tasks as part of the workflow."}, {"id": "a7114805-80bf-428a-a717-b35cb6eb3312", "name": "Microsoft OneDrive", "type": "n8n-nodes-base.microsoftOneDrive", "position": [1820, 200], "parameters": {"fileName": "testtest.jpg", "parentId": "01I7MG5Y2G7ELINW2YLJBLHHF5KDBNJDPF", "binaryData": true}, "credentials": {"microsoftOneDriveOAuth2Api": {"id": "pM363KMLOo6btGCp", "name": "Microsoft Drive account"}}, "typeVersion": 1, "notes": "This microsoftOneDrive node performs automated tasks as part of the workflow."}, {"id": "7a6f14a2-938f-40f8-a294-564fb1185de3", "name": "Microsoft OneDrive1", "type": "n8n-nodes-base.microsoftOneDrive", "position": [2000, 200], "parameters": {"itemId": "={{ $json.id }}", "newName": "={{ $('Line Webhook').item.json.body.events[0].message.id }}.jpg", "operation": "rename"}, "credentials": {"microsoftOneDriveOAuth2Api": {"id": "pM363KMLOo6btGCp", "name": "Microsoft Drive account"}}, "typeVersion": 1, "notes": "This microsoftOneDrive node performs automated tasks as part of the workflow."}, {"id": "864fe7c5-f8f9-429e-94b7-2b760af09cd4", "name": "Get Image2", "type": "n8n-nodes-base.httpRequest", "position": [2260, 200], "parameters": {"url": "{{ $env.BASE_URL }}", "options": {}, "authentication": "{{ $credentials.genericCredentialType }}", "genericAuthType": "httpHeaderAuth"}, "credentials": {"httpHeaderAuth": {"id": "lKd3b2nc8uNJ148Z", "name": "Line @271dudsw MiniBear"}}, "typeVersion": 4.2, "notes": "This httpRequest node performs automated tasks as part of the workflow."}, {"id": "f1108c52-9e9c-4611-9a2a-40f28871632a", "name": "Microsoft To Do1", "type": "n8n-nodes-base.microsoftToDo", "position": [2400, -260], "parameters": {"title": "=Follow-up Namecard {{ $json.output.Email }}", "operation": "create", "taskListId": "AQMkAGE1NDhhM2UxLTA3ZTQtNGIyYS1iOWFjLTlkNDAyYzkzNjE2YQAuAAADCPe-x7aF5Eqh4_vJsot6MAEAG9nUtifnkkavLabXdl_kugAAAgESAAAA", "additionalFields": {}}, "credentials": {"microsoftToDoOAuth2Api": {"id": "Pag1nTvXIzYpG5V1", "name": "Microsoft To Do account"}}, "typeVersion": 1, "notes": "This microsoftToDo node performs automated tasks as part of the workflow."}, {"id": "2afe30ad-ef70-45e8-9e3c-546bd3cf91a8", "name": "HTTP Request", "type": "n8n-nodes-base.httpRequest", "position": [2960, -260], "parameters": {"url": "{{ $env.WEBHOOK_URL }}", "method": "POST", "options": {}, "sendBody": true, "bodyParameters": {"parameters": [{"name": "MessageID", "value": "={{ $('Line Webhook').item.json.body.events[0].message.id }}"}, {"name": "Content", "value": "={{ $('NamecardExtract').item.json.output }}"}, {"name": "ReplyToken", "value": "={{ $('Line Webhook').item.json.body.events[0].replyToken }}"}]}}, "typeVersion": 4.2, "notes": "This httpRequest node performs automated tasks as part of the workflow."}, {"id": "a94bcdea-f8cc-4eb9-847a-66eb3808ed5b", "name": "OpenRouter Chat Model3", "type": "n8n-nodes-base.noOp", "position": [2000, -140], "parameters": {"model": "openai/gpt-4o", "options": {}}, "credentials": {"openRouterApi": {"id": "iQS3GMHjRv36CWYD", "name": "n8n Lin"}}, "typeVersion": 1, "notes": "This lmChatOpenRouter node performs automated tasks as part of the workflow."}, {"id": "f138bdcf-1b46-4c14-b443-db2f1e3055f4", "name": "NamecardExtract", "type": "n8n-nodes-base.noOp", "position": [2000, -260], "parameters": {"text": "=You'll extract the data in JSON format \n\n--- \n{   \"Nickname\": \"\",   \"FirstName\": \"\",   \"LastName\": \"\",   \"CompanyFull\": \"\",   \"Department\": \"\",   \"JobTitle\": \"\",   \"Mobile\": \"\",   \"Mobile2\": \"\",   \"Email\": \"\",   \"SocialMedia\": \"\",   \"Address\": \"\",   \"Remark\": \"\",   \"NameTH\": \"\" } \n--- \nFor Nickname, you'll see if there's any short name in the namecard. For Name TH, you'll see if there's thai name on the namecard. \n", "options": {"passthroughBinaryImages": true}, "promptType": "define", "hasOutputParser": true}, "typeVersion": 1.8, "notes": "This agent node performs automated tasks as part of the workflow."}, {"id": "df565b73-3cfe-464e-b5d2-36f2240da218", "name": "Structured Output Parser", "type": "n8n-nodes-base.noOp", "position": [2180, -140], "parameters": {"jsonSchemaExample": "{   \"Nickname\": \"\",   \"FirstName\": \"\",   \"LastName\": \"\",   \"CompanyFull\": \"\",   \"Department\": \"\",   \"JobTitle\": \"\",   \"Mobile\": \"\",   \"Mobile2\": \"\",   \"Email\": \"\",   \"SocialMedia\": \"\",   \"Address\": \"\",   \"Remark\": \"\",   \"NameTH\": \"\" } "}, "typeVersion": 1.2, "notes": "This outputParserStructured node performs automated tasks as part of the workflow."}, {"id": "c7b2b87f-3507-4a0f-a1d0-7ab9a131a619", "name": "Sticky Note", "type": "n8n-nodes-base.stickyNote", "position": [1220, -680], "parameters": {"color": 4, "width": 260, "height": 240, "content": "**Line Reply**\nTo send feedback that the task has been added\n"}, "typeVersion": 1, "notes": "This stickyNote node performs automated tasks as part of the workflow."}, {"id": "6448ffd8-4a5d-4cb7-826a-b594952c6773", "name": "Sticky Note3", "type": "n8n-nodes-base.stickyNote", "position": [1220, -420], "parameters": {"color": 4, "width": 260, "height": 240, "content": "**Line Reply**\nTo send feedback message has been saved"}, "typeVersion": 1, "notes": "This stickyNote node performs automated tasks as part of the workflow."}, {"id": "f222d983-26a5-4806-8f86-1eb32982f558", "name": "Sticky Note4", "type": "n8n-nodes-base.stickyNote", "position": [940, -680], "parameters": {"color": 2, "width": 260, "height": 240, "content": "**Tasks**\nTo add in MS 'To Do' List"}, "typeVersion": 1, "notes": "This stickyNote node performs automated tasks as part of the workflow."}, {"id": "d13b3145-d9c5-41bb-a384-996fcdbbc19c", "name": "Sticky Note6", "type": "n8n-nodes-base.stickyNote", "position": [940, -420], "parameters": {"color": 3, "width": 260, "height": 240, "content": "**MS Teams**\nSave this message in MS Teams"}, "typeVersion": 1, "notes": "This stickyNote node performs automated tasks as part of the workflow."}, {"id": "001dd5c9-b56e-47f1-bd71-31c3b2a7810c", "name": "Sticky Note7", "type": "n8n-nodes-base.stickyNote", "position": [2320, -340], "parameters": {"color": 2, "width": 260, "height": 240, "content": "**Tasks**\nTo add in MS 'To Do' List to follow-up with this namecard"}, "typeVersion": 1, "notes": "This stickyNote node performs automated tasks as part of the workflow."}, {"id": "94519356-9e65-473f-bfad-f89d0aecc7ff", "name": "Sticky Note8", "type": "n8n-nodes-base.stickyNote", "position": [2600, -340], "parameters": {"color": 4, "width": 260, "height": 240, "content": "**Line Reply**\nTo send feedback message has been saved"}, "typeVersion": 1, "notes": "This stickyNote node performs automated tasks as part of the workflow."}, {"id": "28c490ad-5fa9-435c-8d06-d3bb21c8d454", "name": "Line Reply Namecard", "type": "n8n-nodes-base.httpRequest", "position": [2680, -260], "parameters": {"url": "{{ $env.API_BASE_URL }}", "method": "POST", "options": {}, "jsonBody": "={\n  \"replyToken\": \"{{ $('Line Webhook').item.json.body.events[0].replyToken }}\",\n  \"messages\": [\n    {\n      \"type\": \"text\",\n      \"text\": \"[ Namecard Extraction ] /n/n {{ $('NamecardExtract').item.json.output }}\" \n    }\n  ]\n} ", "sendBody": true, "specifyBody": "json", "authentication": "{{ $credentials.genericCredentialType }}", "genericAuthType": "httpHeaderAuth"}, "credentials": {"httpHeaderAuth": {"id": "lKd3b2nc8uNJ148Z", "name": "Line @271dudsw MiniBear"}}, "typeVersion": 4.2, "notes": "This httpRequest node performs automated tasks as part of the workflow."}, {"id": "67dd6ba3-6382-465b-a3a9-2d438e67aaf3", "name": "Sticky Note10", "type": "n8n-nodes-base.stickyNote", "position": [2880, -340], "parameters": {"color": 4, "width": 260, "height": 240, "content": "**HTTP Request**\nThis is to trigger another workflow to add new rows in MS Excel 365"}, "typeVersion": 1, "notes": "This stickyNote node performs automated tasks as part of the workflow."}, {"id": "e8fb90be-1371-4bf1-a945-e6fcedacb8fb", "name": "Sticky Note11", "type": "n8n-nodes-base.stickyNote", "position": [3080, 120], "parameters": {"color": 4, "width": 260, "height": 240, "content": "**Line Reply**\nTo send feedback message has been saved"}, "typeVersion": 1, "notes": "This stickyNote node performs automated tasks as part of the workflow."}, {"id": "c43ec591-b882-4eba-95f3-827153af5890", "name": "Sticky Note12", "type": "n8n-nodes-base.stickyNote", "position": [2800, 120], "parameters": {"color": 3, "width": 260, "height": 240, "content": "**MS Teams**\nSave this message in MS Teams"}, "typeVersion": 1, "notes": "This stickyNote node performs automated tasks as part of the workflow."}, {"id": "150c2ea3-aca6-40da-879a-ee7204f00a5f", "name": "Sticky Note13", "type": "n8n-nodes-base.stickyNote", "position": [840, -40], "parameters": {"color": 6, "width": 520, "height": 400, "content": "**Identify Image**\nFirst we'll get the image from Line and we will use Tool Agent to query OpenRouter to identify whether this is namecard or not?"}, "typeVersion": 1, "notes": "This stickyNote node performs automated tasks as part of the workflow."}, {"id": "694d260b-1570-430b-9a5b-5b4962af9b8b", "name": "Sticky Note14", "type": "n8n-nodes-base.stickyNote", "position": [1780, -380], "parameters": {"color": 6, "width": 520, "height": 400, "content": "**Namecard Information Extraction**\nFirst we'll get the image from Line and we will use Tool Agent to query OpenRouter to extract the namecard information in the structured format"}, "typeVersion": 1, "notes": "This stickyNote node performs automated tasks as part of the workflow."}, {"id": "c437c0d5-3022-4469-ac3c-ceea9aaf1689", "name": "Get Image3", "type": "n8n-nodes-base.httpRequest", "position": [1860, -260], "parameters": {"url": "{{ $env.BASE_URL }}", "options": {}, "authentication": "{{ $credentials.genericCredentialType }}", "genericAuthType": "httpHeaderAuth"}, "credentials": {"httpHeaderAuth": {"id": "lKd3b2nc8uNJ148Z", "name": "Line @271dudsw MiniBear"}}, "typeVersion": 4.2, "notes": "This httpRequest node performs automated tasks as part of the workflow."}, {"id": "91cf0e34-831a-4c56-92bb-e26319713874", "name": "Sticky Note15", "type": "n8n-nodes-base.stickyNote", "position": [1400, -40], "parameters": {"color": 5, "width": 280, "height": 400, "content": "**Router Namecard or not**"}, "typeVersion": 1, "notes": "This stickyNote node performs automated tasks as part of the workflow."}, {"id": "65261cba-e104-404a-8af6-3c2b6cf85c2a", "name": "Sticky Note16", "type": "n8n-nodes-base.stickyNote", "position": [2220, 80], "parameters": {"color": 6, "width": 520, "height": 400, "content": "**Text Extraction**\nFirst we'll get the image from Line and we will use Tool Agent to query OpenRouter to identify image content such as what is written"}, "typeVersion": 1, "notes": "This stickyNote node performs automated tasks as part of the workflow."}, {"id": "1170527e-0ac7-4a8b-8ae8-420713a046fa", "name": "Sticky Note17", "type": "n8n-nodes-base.stickyNote", "position": [1740, 80], "parameters": {"width": 440, "height": 340, "content": "**Upload to OneDrive**\nThis is to upload the file to OneDrive. Due to some bug I faced, we need to rename the file again."}, "typeVersion": 1, "notes": "This stickyNote node performs automated tasks as part of the workflow."}], "active": true, "pinData": {}, "settings": {"timezone": "UTC", "callerPolicy": "workflowsFromSameOwner", "errorWorkflow": null, "executionOrder": "v1", "saveManualExecutions": true, "executionTimeout": 3600, "maxExecutions": 1000, "retryOnFail": true, "retryCount": 3, "retryDelay": 1000}, "versionId": "49efe864-6f48-4c6c-853b-7e8542a7ea2f", "connections": {"b1f42cbd-952e-4704-9233-788891e1894d": {"main": [[{"node": "error-handler-b1f42cbd-952e-4704-9233-788891e1894d", "type": "main", "index": 0}], [{"node": "error-handler-b1f42cbd-952e-4704-9233-788891e1894d-248f5b1f", "type": "main", "index": 0}], [{"node": "error-handler-b1f42cbd-952e-4704-9233-788891e1894d-01935611", "type": "main", "index": 0}], [{"node": "error-handler-b1f42cbd-952e-4704-9233-788891e1894d-b03b3119", "type": "main", "index": 0}], [{"node": "error-handler-b1f42cbd-952e-4704-9233-788891e1894d-b1460943", "type": "main", "index": 0}], [{"node": "error-handler-b1f42cbd-952e-4704-9233-788891e1894d-db89cab0", "type": "main", "index": 0}], [{"node": "error-handler-b1f42cbd-952e-4704-9233-788891e1894d-09ddfa39", "type": "main", "index": 0}], [{"node": "error-handler-b1f42cbd-952e-4704-9233-788891e1894d-b83f2fdf", "type": "main", "index": 0}], [{"node": "error-handler-b1f42cbd-952e-4704-9233-788891e1894d-60b35204", "type": "main", "index": 0}]]}, "ae4a46d6-0f34-484b-8be5-dbc07d5de92e": {"main": [[{"node": "error-handler-ae4a46d6-0f34-484b-8be5-dbc07d5de92e", "type": "main", "index": 0}], [{"node": "error-handler-ae4a46d6-0f34-484b-8be5-dbc07d5de92e-2ddebb28", "type": "main", "index": 0}], [{"node": "error-handler-ae4a46d6-0f34-484b-8be5-dbc07d5de92e-7fcfe143", "type": "main", "index": 0}], [{"node": "error-handler-ae4a46d6-0f34-484b-8be5-dbc07d5de92e-76db38d0", "type": "main", "index": 0}], [{"node": "error-handler-ae4a46d6-0f34-484b-8be5-dbc07d5de92e-e983ebbb", "type": "main", "index": 0}], [{"node": "error-handler-ae4a46d6-0f34-484b-8be5-dbc07d5de92e-288e0267", "type": "main", "index": 0}], [{"node": "error-handler-ae4a46d6-0f34-484b-8be5-dbc07d5de92e-a3cca9ea", "type": "main", "index": 0}], [{"node": "error-handler-ae4a46d6-0f34-484b-8be5-dbc07d5de92e-cd1bf265", "type": "main", "index": 0}], [{"node": "error-handler-ae4a46d6-0f34-484b-8be5-dbc07d5de92e-8c36ba8e", "type": "main", "index": 0}]]}, "933b7da4-95fd-4bb2-ac46-3eac62d0dcaa": {"main": [[{"node": "error-handler-933b7da4-95fd-4bb2-ac46-3eac62d0dcaa", "type": "main", "index": 0}], [{"node": "error-handler-933b7da4-95fd-4bb2-ac46-3eac62d0dcaa-c59178b1", "type": "main", "index": 0}], [{"node": "error-handler-933b7da4-95fd-4bb2-ac46-3eac62d0dcaa-11ef9c1b", "type": "main", "index": 0}], [{"node": "error-handler-933b7da4-95fd-4bb2-ac46-3eac62d0dcaa-e16da86f", "type": "main", "index": 0}], [{"node": "error-handler-933b7da4-95fd-4bb2-ac46-3eac62d0dcaa-600beaaa", "type": "main", "index": 0}], [{"node": "error-handler-933b7da4-95fd-4bb2-ac46-3eac62d0dcaa-ea2d033a", "type": "main", "index": 0}], [{"node": "error-handler-933b7da4-95fd-4bb2-ac46-3eac62d0dcaa-46e9c8e5", "type": "main", "index": 0}], [{"node": "error-handler-933b7da4-95fd-4bb2-ac46-3eac62d0dcaa-4817d95e", "type": "main", "index": 0}], [{"node": "error-handler-933b7da4-95fd-4bb2-ac46-3eac62d0dcaa-6e54c405", "type": "main", "index": 0}]]}, "b169657d-5348-4662-bdcf-6617416ec9f7": {"main": [[{"node": "error-handler-b169657d-5348-4662-bdcf-6617416ec9f7", "type": "main", "index": 0}], [{"node": "error-handler-b169657d-5348-4662-bdcf-6617416ec9f7-a76e6e7f", "type": "main", "index": 0}], [{"node": "error-handler-b169657d-5348-4662-bdcf-6617416ec9f7-eace1418", "type": "main", "index": 0}], [{"node": "error-handler-b169657d-5348-4662-bdcf-6617416ec9f7-66701019", "type": "main", "index": 0}], [{"node": "error-handler-b169657d-5348-4662-bdcf-6617416ec9f7-6146e338", "type": "main", "index": 0}], [{"node": "error-handler-b169657d-5348-4662-bdcf-6617416ec9f7-6c22b86b", "type": "main", "index": 0}], [{"node": "error-handler-b169657d-5348-4662-bdcf-6617416ec9f7-55255645", "type": "main", "index": 0}], [{"node": "error-handler-b169657d-5348-4662-bdcf-6617416ec9f7-078b8dec", "type": "main", "index": 0}], [{"node": "error-handler-b169657d-5348-4662-bdcf-6617416ec9f7-fd33bc26", "type": "main", "index": 0}]]}, "b0f63685-e8df-484e-85ea-bedabd80b61e": {"main": [[{"node": "error-handler-b0f63685-e8df-484e-85ea-bedabd80b61e", "type": "main", "index": 0}], [{"node": "error-handler-b0f63685-e8df-484e-85ea-bedabd80b61e-e363013e", "type": "main", "index": 0}], [{"node": "error-handler-b0f63685-e8df-484e-85ea-bedabd80b61e-99824b81", "type": "main", "index": 0}], [{"node": "error-handler-b0f63685-e8df-484e-85ea-bedabd80b61e-cb2ada33", "type": "main", "index": 0}], [{"node": "error-handler-b0f63685-e8df-484e-85ea-bedabd80b61e-6127c931", "type": "main", "index": 0}], [{"node": "error-handler-b0f63685-e8df-484e-85ea-bedabd80b61e-e39bde94", "type": "main", "index": 0}], [{"node": "error-handler-b0f63685-e8df-484e-85ea-bedabd80b61e-4b6e78be", "type": "main", "index": 0}], [{"node": "error-handler-b0f63685-e8df-484e-85ea-bedabd80b61e-f4970cd9", "type": "main", "index": 0}], [{"node": "error-handler-b0f63685-e8df-484e-85ea-bedabd80b61e-e5d1c54c", "type": "main", "index": 0}]]}, "b2ee3bb5-7cdf-46de-868e-f6b81a2e0ec0": {"main": [[{"node": "error-handler-b2ee3bb5-7cdf-46de-868e-f6b81a2e0ec0", "type": "main", "index": 0}], [{"node": "error-handler-b2ee3bb5-7cdf-46de-868e-f6b81a2e0ec0-8830a2b8", "type": "main", "index": 0}], [{"node": "error-handler-b2ee3bb5-7cdf-46de-868e-f6b81a2e0ec0-e2cd81a2", "type": "main", "index": 0}], [{"node": "error-handler-b2ee3bb5-7cdf-46de-868e-f6b81a2e0ec0-239d0afd", "type": "main", "index": 0}], [{"node": "error-handler-b2ee3bb5-7cdf-46de-868e-f6b81a2e0ec0-3eaf8415", "type": "main", "index": 0}], [{"node": "error-handler-b2ee3bb5-7cdf-46de-868e-f6b81a2e0ec0-acd96363", "type": "main", "index": 0}], [{"node": "error-handler-b2ee3bb5-7cdf-46de-868e-f6b81a2e0ec0-527aefb4", "type": "main", "index": 0}], [{"node": "error-handler-b2ee3bb5-7cdf-46de-868e-f6b81a2e0ec0-6d99dfdc", "type": "main", "index": 0}], [{"node": "error-handler-b2ee3bb5-7cdf-46de-868e-f6b81a2e0ec0-a2072839", "type": "main", "index": 0}]]}, "04f298c3-e952-4d85-aba7-0971d2f6a8b0": {"main": [[{"node": "error-handler-04f298c3-e952-4d85-aba7-0971d2f6a8b0", "type": "main", "index": 0}], [{"node": "error-handler-04f298c3-e952-4d85-aba7-0971d2f6a8b0-5ef47382", "type": "main", "index": 0}], [{"node": "error-handler-04f298c3-e952-4d85-aba7-0971d2f6a8b0-59197e40", "type": "main", "index": 0}], [{"node": "error-handler-04f298c3-e952-4d85-aba7-0971d2f6a8b0-32e07c67", "type": "main", "index": 0}], [{"node": "error-handler-04f298c3-e952-4d85-aba7-0971d2f6a8b0-6610af75", "type": "main", "index": 0}], [{"node": "error-handler-04f298c3-e952-4d85-aba7-0971d2f6a8b0-bfd888d9", "type": "main", "index": 0}], [{"node": "error-handler-04f298c3-e952-4d85-aba7-0971d2f6a8b0-571f737b", "type": "main", "index": 0}], [{"node": "error-handler-04f298c3-e952-4d85-aba7-0971d2f6a8b0-1c7bf808", "type": "main", "index": 0}], [{"node": "error-handler-04f298c3-e952-4d85-aba7-0971d2f6a8b0-c91e8236", "type": "main", "index": 0}]]}, "59202467-34c6-4580-8039-fca99c9467ca": {"main": [[{"node": "error-handler-59202467-34c6-4580-8039-fca99c9467ca", "type": "main", "index": 0}], [{"node": "error-handler-59202467-34c6-4580-8039-fca99c9467ca-035c421d", "type": "main", "index": 0}], [{"node": "error-handler-59202467-34c6-4580-8039-fca99c9467ca-bd183d1f", "type": "main", "index": 0}], [{"node": "error-handler-59202467-34c6-4580-8039-fca99c9467ca-393a503c", "type": "main", "index": 0}], [{"node": "error-handler-59202467-34c6-4580-8039-fca99c9467ca-404751ef", "type": "main", "index": 0}], [{"node": "error-handler-59202467-34c6-4580-8039-fca99c9467ca-e75d0281", "type": "main", "index": 0}], [{"node": "error-handler-59202467-34c6-4580-8039-fca99c9467ca-fb562ff7", "type": "main", "index": 0}], [{"node": "error-handler-59202467-34c6-4580-8039-fca99c9467ca-fe2d3d65", "type": "main", "index": 0}], [{"node": "error-handler-59202467-34c6-4580-8039-fca99c9467ca-d07a8f57", "type": "main", "index": 0}]]}, "864fe7c5-f8f9-429e-94b7-2b760af09cd4": {"main": [[{"node": "error-handler-864fe7c5-f8f9-429e-94b7-2b760af09cd4", "type": "main", "index": 0}], [{"node": "error-handler-864fe7c5-f8f9-429e-94b7-2b760af09cd4-93e4486e", "type": "main", "index": 0}], [{"node": "error-handler-864fe7c5-f8f9-429e-94b7-2b760af09cd4-0c94867a", "type": "main", "index": 0}], [{"node": "error-handler-864fe7c5-f8f9-429e-94b7-2b760af09cd4-65d6a244", "type": "main", "index": 0}], [{"node": "error-handler-864fe7c5-f8f9-429e-94b7-2b760af09cd4-d49eb442", "type": "main", "index": 0}], [{"node": "error-handler-864fe7c5-f8f9-429e-94b7-2b760af09cd4-d0812bf6", "type": "main", "index": 0}], [{"node": "error-handler-864fe7c5-f8f9-429e-94b7-2b760af09cd4-3d1b7874", "type": "main", "index": 0}], [{"node": "error-handler-864fe7c5-f8f9-429e-94b7-2b760af09cd4-2fef37d4", "type": "main", "index": 0}], [{"node": "error-handler-864fe7c5-f8f9-429e-94b7-2b760af09cd4-82224abd", "type": "main", "index": 0}]]}, "2afe30ad-ef70-45e8-9e3c-546bd3cf91a8": {"main": [[{"node": "error-handler-2afe30ad-ef70-45e8-9e3c-546bd3cf91a8", "type": "main", "index": 0}], [{"node": "error-handler-2afe30ad-ef70-45e8-9e3c-546bd3cf91a8-046ffcef", "type": "main", "index": 0}], [{"node": "error-handler-2afe30ad-ef70-45e8-9e3c-546bd3cf91a8-7c98df52", "type": "main", "index": 0}], [{"node": "error-handler-2afe30ad-ef70-45e8-9e3c-546bd3cf91a8-48a22611", "type": "main", "index": 0}], [{"node": "error-handler-2afe30ad-ef70-45e8-9e3c-546bd3cf91a8-09f484aa", "type": "main", "index": 0}], [{"node": "error-handler-2afe30ad-ef70-45e8-9e3c-546bd3cf91a8-3c2d087a", "type": "main", "index": 0}], [{"node": "error-handler-2afe30ad-ef70-45e8-9e3c-546bd3cf91a8-6f8f06ef", "type": "main", "index": 0}], [{"node": "error-handler-2afe30ad-ef70-45e8-9e3c-546bd3cf91a8-027ac7d1", "type": "main", "index": 0}], [{"node": "error-handler-2afe30ad-ef70-45e8-9e3c-546bd3cf91a8-789cdd82", "type": "main", "index": 0}]]}, "28c490ad-5fa9-435c-8d06-d3bb21c8d454": {"main": [[{"node": "error-handler-28c490ad-5fa9-435c-8d06-d3bb21c8d454", "type": "main", "index": 0}], [{"node": "error-handler-28c490ad-5fa9-435c-8d06-d3bb21c8d454-ff03b147", "type": "main", "index": 0}], [{"node": "error-handler-28c490ad-5fa9-435c-8d06-d3bb21c8d454-2a013bbc", "type": "main", "index": 0}], [{"node": "error-handler-28c490ad-5fa9-435c-8d06-d3bb21c8d454-c9c7feef", "type": "main", "index": 0}], [{"node": "error-handler-28c490ad-5fa9-435c-8d06-d3bb21c8d454-b6ef2515", "type": "main", "index": 0}], [{"node": "error-handler-28c490ad-5fa9-435c-8d06-d3bb21c8d454-7b2cac31", "type": "main", "index": 0}], [{"node": "error-handler-28c490ad-5fa9-435c-8d06-d3bb21c8d454-0b6caddb", "type": "main", "index": 0}], [{"node": "error-handler-28c490ad-5fa9-435c-8d06-d3bb21c8d454-cfe28738", "type": "main", "index": 0}], [{"node": "error-handler-28c490ad-5fa9-435c-8d06-d3bb21c8d454-55b56d0c", "type": "main", "index": 0}]]}, "c437c0d5-3022-4469-ac3c-ceea9aaf1689": {"main": [[{"node": "error-handler-c437c0d5-3022-4469-ac3c-ceea9aaf1689", "type": "main", "index": 0}], [{"node": "error-handler-c437c0d5-3022-4469-ac3c-ceea9aaf1689-d9315863", "type": "main", "index": 0}], [{"node": "error-handler-c437c0d5-3022-4469-ac3c-ceea9aaf1689-06eae9db", "type": "main", "index": 0}], [{"node": "error-handler-c437c0d5-3022-4469-ac3c-ceea9aaf1689-4eef45b3", "type": "main", "index": 0}], [{"node": "error-handler-c437c0d5-3022-4469-ac3c-ceea9aaf1689-1f1811f2", "type": "main", "index": 0}], [{"node": "error-handler-c437c0d5-3022-4469-ac3c-ceea9aaf1689-91eef826", "type": "main", "index": 0}], [{"node": "error-handler-c437c0d5-3022-4469-ac3c-ceea9aaf1689-99be1b09", "type": "main", "index": 0}], [{"node": "error-handler-c437c0d5-3022-4469-ac3c-ceea9aaf1689-6cd7840c", "type": "main", "index": 0}], [{"node": "error-handler-c437c0d5-3022-4469-ac3c-ceea9aaf1689-f2ada254", "type": "main", "index": 0}]]}}, "description": "Automated workflow: MiniBear Webhook. This workflow integrates 12 different services: webhook, stickyNote, httpRequest, microsoftToDo, agent. It contains 69 nodes and follows best practices for error handling and security.", "notes": "Excellent quality workflow: MiniBear Webhook. This workflow has been optimized for production use with comprehensive error handling, security, and documentation."}