Outlook reply node Method not allowed - please check you are using the right HTTP method"

Describe the problem/error/question

My system doesn’t reply to emails. It does send emails & gets all unread emails.

What is the error message (if any)?

“Method not allowed - please check you are using the right HTTP method”

Please share your workflow

{
“nodes”: [
{
“parameters”: {
“inputSource”: “passthrough”
},
“type”: “n8n-nodes-base.executeWorkflowTrigger”,
“typeVersion”: 1.1,
“position”: [
0,
0
],
“id”: “a0adb116-ac33-4380-bc62-b57bf4355740”,
“name”: “When Executed by Another Workflow”
},
{
“parameters”: {
“promptType”: “define”,
“text”: “={{ $json.query }}”,
“options”: {}
},
“type”: “@n8n/n8n-nodes-langchain.agent”,
“typeVersion”: 1.7,
“position”: [
220,
0
],
“id”: “c12c8076-b902-4de6-8ebe-a0f3fbf73945”,
“name”: “AI Agent”,
“executeOnce”: false,
“alwaysOutputData”: false,
“retryOnFail”: false
},
{
“parameters”: {
“toRecipients”: “={{ /n8n-auto-generated-fromAI-override/ $fromAI(‘To’, ``, ‘string’) }}”,
“subject”: “={{ /n8n-auto-generated-fromAI-override/ $fromAI(‘Subject’, ``, ‘string’) }}”,
“bodyContent”: “={{ /n8n-auto-generated-fromAI-override/ $fromAI(‘Message’, ``, ‘string’) }}”,
“additionalFields”: {}
},
“type”: “n8n-nodes-base.microsoftOutlookTool”,
“typeVersion”: 2,
“position”: [
320,
260
],
“id”: “f8884788-3ec5-414e-9e6f-c436ab2f0ab4”,
“name”: “Send”,
“webhookId”: “410e31d4-3910-4dd0-a2f7-493f0fd642a9”,
“credentials”: {
“microsoftOutlookOAuth2Api”: {
“id”: “bs9Ik022gDbqdbTl”,
“name”: “Microsoft Outlook account”
}
}
},
{
“parameters”: {
“model”: {
“__rl”: true,
“mode”: “list”,
“value”: “gpt-4o-mini”
},
“options”: {}
},
“type”: “@n8n/n8n-nodes-langchain.lmChatOpenAi”,
“typeVersion”: 1.2,
“position”: [
40,
260
],
“id”: “ff14a2b4-091b-464b-8bc0-5ae5a54d9473”,
“name”: “OpenAI Chat Model”,
“credentials”: {
“openAiApi”: {
“id”: “LHmzOzgBzubgv31h”,
“name”: “OpenAi account”
}
}
},
{
“parameters”: {
“operation”: “getAll”,
“limit”: 10,
“filtersUI”: {
“values”: {
“filters”: {
“readStatus”: “unread”
}
}
},
“options”: {}
},
“type”: “n8n-nodes-base.microsoftOutlookTool”,
“typeVersion”: 2,
“position”: [
440,
260
],
“id”: “2318db9c-bb55-4b01-a81f-1a7782ca1de7”,
“name”: “Unread”,
“webhookId”: “eee6494b-b7b9-49db-802a-e9d52295eb9b”,
“credentials”: {
“microsoftOutlookOAuth2Api”: {
“id”: “bs9Ik022gDbqdbTl”,
“name”: “Microsoft Outlook account”
}
}
},
{
“parameters”: {
“operation”: “reply”,
“messageId”: {
“__rl”: true,
“value”: “={{ /n8n-auto-generated-fromAI-override/ $fromAI(‘Message’, ``, ‘string’) }}”,
“mode”: “id”
},
“message”: “={{ /n8n-auto-generated-fromAI-override/ $fromAI(‘Message’, ``, ‘string’) }}”,
“options”: {}
},
“type”: “n8n-nodes-base.microsoftOutlookTool”,
“typeVersion”: 2,
“position”: [
560,
260
],
“id”: “3b35b3c5-3ec7-43f7-93b0-c9944457f3b7”,
“name”: “Reply”,
“webhookId”: “9e757b65-ee87-4ee9-8c4a-36c3a9d8f58c”,
“credentials”: {
“microsoftOutlookOAuth2Api”: {
“id”: “bs9Ik022gDbqdbTl”,
“name”: “Microsoft Outlook account”
}
}
},
{
“parameters”: {
“sessionIdType”: “customKey”,
“sessionKey”: “={{ $json.query }}”
},
“type”: “@n8n/n8n-nodes-langchain.memoryBufferWindow”,
“typeVersion”: 1.3,
“position”: [
180,
260
],
“id”: “e22df7e0-2041-4e0e-8828-987789e1108a”,
“name”: “Window Buffer Memory”
}
],
“connections”: {
“When Executed by Another Workflow”: {
“main”: [
[
{
“node”: “AI Agent”,
“type”: “main”,
“index”: 0
}
]
]
},
“Send”: {
“ai_tool”: [
[
{
“node”: “AI Agent”,
“type”: “ai_tool”,
“index”: 0
}
]
]
},
“OpenAI Chat Model”: {
“ai_languageModel”: [
[
{
“node”: “AI Agent”,
“type”: “ai_languageModel”,
“index”: 0
}
]
]
},
“Unread”: {
“ai_tool”: [
[
{
“node”: “AI Agent”,
“type”: “ai_tool”,
“index”: 0
}
]
]
},
“Reply”: {
“ai_tool”: [
[
{
“node”: “AI Agent”,
“type”: “ai_tool”,
“index”: 0
}
]
]
},
“Window Buffer Memory”: {
“ai_memory”: [
[
{
“node”: “AI Agent”,
“type”: “ai_memory”,
“index”: 0
}
]
]
}
},
“pinData”: {
“When Executed by Another Workflow”: [
{
“query”: “Reply to Jos to ask to have the work done by tuesday.”
}
]
},
“meta”: {
“instanceId”: “829c9e8624aeb0630e1f143103470cb95409eae2b893ab528fc758dcc950d7f3”
}
}

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

It will help if you edit your post and place a line with 3 back-tics above and below the workflow json like:

```
{ workflow source here }
```

Thanks for the tip!

{
“nodes”: [
{
“parameters”: {
“inputSource”: “passthrough”
},
“type”: “n8n-nodes-base.executeWorkflowTrigger”,
“typeVersion”: 1.1,
“position”: [
0,
0
],
“id”: “a0adb116-ac33-4380-bc62-b57bf4355740”,
“name”: “When Executed by Another Workflow”
},
{
“parameters”: {
“promptType”: “define”,
“text”: “={{ $json.query }}”,
“options”: {}
},
“type”: “@n8n/n8n-nodes-langchain.agent”,
“typeVersion”: 1.7,
“position”: [
220,
0
],
“id”: “c12c8076-b902-4de6-8ebe-a0f3fbf73945”,
“name”: “AI Agent”,
“executeOnce”: false,
“alwaysOutputData”: false,
“retryOnFail”: false
},
{
“parameters”: {
“toRecipients”: “={{ /n8n-auto-generated-fromAI-override/ $fromAI(‘To’, ``, ‘string’) }}”,
“subject”: “={{ /n8n-auto-generated-fromAI-override/ $fromAI(‘Subject’, ``, ‘string’) }}”,
“bodyContent”: “={{ /n8n-auto-generated-fromAI-override/ $fromAI(‘Message’, ``, ‘string’) }}”,
“additionalFields”: {}
},
“type”: “n8n-nodes-base.microsoftOutlookTool”,
“typeVersion”: 2,
“position”: [
320,
260
],
“id”: “f8884788-3ec5-414e-9e6f-c436ab2f0ab4”,
“name”: “Send”,
“webhookId”: “410e31d4-3910-4dd0-a2f7-493f0fd642a9”,
“credentials”: {
“microsoftOutlookOAuth2Api”: {
“id”: “bs9Ik022gDbqdbTl”,
“name”: “Microsoft Outlook account”
}
}
},
{
“parameters”: {
“model”: {
“__rl”: true,
“mode”: “list”,
“value”: “gpt-4o-mini”
},
“options”: {}
},
“type”: “@n8n/n8n-nodes-langchain.lmChatOpenAi”,
“typeVersion”: 1.2,
“position”: [
40,
260
],
“id”: “ff14a2b4-091b-464b-8bc0-5ae5a54d9473”,
“name”: “OpenAI Chat Model”,
“credentials”: {
“openAiApi”: {
“id”: “LHmzOzgBzubgv31h”,
“name”: “OpenAi account”
}
}
},
{
“parameters”: {
“operation”: “getAll”,
“limit”: 10,
“filtersUI”: {
“values”: {
“filters”: {
“readStatus”: “unread”
}
}
},
“options”: {}
},
“type”: “n8n-nodes-base.microsoftOutlookTool”,
“typeVersion”: 2,
“position”: [
440,
260
],
“id”: “2318db9c-bb55-4b01-a81f-1a7782ca1de7”,
“name”: “Unread”,
“webhookId”: “eee6494b-b7b9-49db-802a-e9d52295eb9b”,
“credentials”: {
“microsoftOutlookOAuth2Api”: {
“id”: “bs9Ik022gDbqdbTl”,
“name”: “Microsoft Outlook account”
}
}
},
{
“parameters”: {
“operation”: “reply”,
“messageId”: {
“__rl”: true,
“value”: “={{ /n8n-auto-generated-fromAI-override/ $fromAI(‘Message’, ``, ‘string’) }}”,
“mode”: “id”
},
“message”: “={{ /n8n-auto-generated-fromAI-override/ $fromAI(‘Message’, ``, ‘string’) }}”,
“options”: {}
},
“type”: “n8n-nodes-base.microsoftOutlookTool”,
“typeVersion”: 2,
“position”: [
560,
260
],
“id”: “3b35b3c5-3ec7-43f7-93b0-c9944457f3b7”,
“name”: “Reply”,
“webhookId”: “9e757b65-ee87-4ee9-8c4a-36c3a9d8f58c”,
“credentials”: {
“microsoftOutlookOAuth2Api”: {
“id”: “bs9Ik022gDbqdbTl”,
“name”: “Microsoft Outlook account”
}
}
},
{
“parameters”: {
“sessionIdType”: “customKey”,
“sessionKey”: “={{ $json.query }}”
},
“type”: “@n8n/n8n-nodes-langchain.memoryBufferWindow”,
“typeVersion”: 1.3,
“position”: [
180,
260
],
“id”: “e22df7e0-2041-4e0e-8828-987789e1108a”,
“name”: “Window Buffer Memory”
}
],
“connections”: {
“When Executed by Another Workflow”: {
“main”: [
[
{
“node”: “AI Agent”,
“type”: “main”,
“index”: 0
}
]
]
},
“Send”: {
“ai_tool”: [
[
{
“node”: “AI Agent”,
“type”: “ai_tool”,
“index”: 0
}
]
]
},
“OpenAI Chat Model”: {
“ai_languageModel”: [
[
{
“node”: “AI Agent”,
“type”: “ai_languageModel”,
“index”: 0
}
]
]
},
“Unread”: {
“ai_tool”: [
[
{
“node”: “AI Agent”,
“type”: “ai_tool”,
“index”: 0
}
]
]
},
“Reply”: {
“ai_tool”: [
[
{
“node”: “AI Agent”,
“type”: “ai_tool”,
“index”: 0
}
]
]
},
“Window Buffer Memory”: {
“ai_memory”: [
[
{
“node”: “AI Agent”,
“type”: “ai_memory”,
“index”: 0
}
]
]
}
},
“pinData”: {
“When Executed by Another Workflow”: [
{
“query”: “Reply to Jos to ask to have the work done by tuesday.”
}
]
},
“meta”: {
“instanceId”: “829c9e8624aeb0630e1f143103470cb95409eae2b893ab528fc758dcc950d7f3”
}
}

Sorry, it’s still showing as JSON source. Maybe it’s partly the mangled quotes (e.g. “type” instead of "type") keeping it from working. Did you perhaps open the JSON source in a “helpful” text editor that reformats from plain text, between n8n and the forums?

Next time, try

  1. highlighting/selecting the nodes directly in the n8n editor
  2. ctrl/cmd-c (copy)
  3. Immediately ctrl/cmd-v (paste) in the forum post editor.

When you have it entered correctly, it will show up in the preview as a box with the workflow nodes in it, which will look just like it does in the n8n editor (i.e. graphical, not json text - see below).

Also, you can usually edit your original post or comment instead of adding a comment.

I was curious what might be causing this, so I already fixed it here. More people might try to help if they can quickly copy/paste your workflow/nodes and take a look at what’s going on.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.