Connecting n8n to outlook when our mail provider is inkll and we dont have azure emails?

so the place i work in uses microsoft computers and laptops, has a cloud that has our contacts and our mail provider is not microsoft or google and now idk if that changes anything regarding connecting the chatbot to our outlook because our mail is not on azure and it requires permissions, so this needs a work around, any ideas? explain in detail. thank you

Describe the problem/error/question

What is the error message (if any)?

Please share your workflow

(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.){
  "nodes": [
    {
      "parameters": {
        "descriptionType": "manual",
        "toolDescription": "=Schedule a callback or consultation with our team.\n\nWHEN TO USE: Customer explicitly requests to speak with someone or schedule a call.\n\nRequired info: Customer name, email, phone, preferred date/time, purpose of call. ",
        "resource": "event",
        "operation": "create",
        "calendarId": {
          "__rl": true,
          "mode": "list",
          "value": "Calendar"
        },
        "subject": "={{ $fromAI('event_subject', 'Subject/title of the calendar event', 'string'),'Subject/title' }}",
        "startDateTime": "={{ $fromAI('start_time', 'Start date and time in ISO format', 'string'),'Start date and time' }}",
        "endDateTime": "={{ $fromAI('end_time', 'End date and time in ISO format', 'string')\n,'format YYYY-MM-DD HH:mm'}}",
        "additionalFields": {
          "body": "={{ $fromAI('event_description', 'Description of the event including customer details and purpose', 'string'),'Description' }}"
        }
      },
      "id": "4d19bad6-d6cf-4eb7-901a-aee3e363193f",
      "name": "Outlook Calendar Event",
      "type": "n8n-nodes-base.microsoftOutlookTool",
      "typeVersion": 2,
      "position": [
        960,
        208
      ],
      "webhookId": "a67d30dc-fffb-438b-aba5-ade692dee339",
      "credentials": {
        "microsoftOutlookOAuth2Api": {
          "id": "GUV0Hv8WxJL59Ivb",
          "name": "Microsoft Outlook account 4"
        }
      },
      "disabled": true
    }
  ],
  "connections": {
    "Outlook Calendar Event": {
      "ai_tool": [
        []
      ]
    }
  },
  "pinData": {},
  "meta": {
    "templateCredsSetupCompleted": true,
    "instanceId": "efd729b68ea2bfb48dadd57b377022489cd92efebbc79426aa4d72def5af3907"
  }
}

Share the output returned by the last node

Information on your n8n setup

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

You could check if your email system allows IMAP/SMTP access first.

what does “connecting to Outlook” mean?
Outlook the app or Outlook the service?
Outlook desktop app can connect but Outlook as microsift365 service requires “Azure AD app permissions”
and i recommend this method - “Use SMTP to send and IMAP tp read”
this avoids Azure permissions completely, and works with basically any mail provider.
if you need my help, i can do.

1 Like

Hmm maybe dm me?