Latenode

Create an AI-powered website chatbot with Outlook calendar integration

This AI-powered chatbot automation helps businesses provide intelligent and personalized interactions with website visitors. It leverages OpenAI's language model to handle natural conversations, integrate with Microsoft Outlook for calendar availability checks, and facilitate lead capture and handoffs to human agents.

The workflow can be easily integrated into a website by adding a JavaScript snippet, making it a versatile solution for enhancing customer engagement and service. Key features include calendar integration, lead management, and the ability to route complex inquiries to the appropriate personnel.

Updated Apr 6, 2026Est. run: 26sEst. cost: $0.0703
How Latenode estimates time and cost

Latenode bills workflow runs in credits: 1 credit = 30 seconds of processing. Minimum charge per run depends on your plan. Plug-and-Play (PnP) AI nodes are billed separately—each PnP token is $1 USD, charged pay-as-you-go at vendor cost plus a small processing fee, with no API keys required.

Full pricing — how credits work →
AI agents & chatbots

Workflow preview

What this template does

  • Integrates with OpenAI's language model to enable natural conversations with website visitors
  • Checks Microsoft Outlook calendar availability to provide real-time scheduling information
  • Captures lead information and routes complex inquiries to the appropriate personnel
  • Generates a JavaScript snippet for easy integration into any website
  • Provides customizable chatbot design to match the brand's identity

How it works

1
Trigger

Chat Trigger

The workflow is triggered when a website visitor initiates a chat conversation.

2
Logic

Incoming Chat Input

The system checks if there is a valid chat input from the website visitor.

3
AI

AI Agent

An OpenAI language model processes the chat input to understand the visitor's intent and provide an initial response.

4
Action

Initial Response

The system sends the initial response message back to the website visitor.

5
Action

Check Availability

The system retrieves the user's upcoming calendar events from Microsoft Outlook to check their availability.

6
Logic

Process Calendar Events

The system processes the calendar events to identify available time slots for the user.

7
Action

Store Available Slots

The system stores the available time slots for the user.

8
Logic

Respond Based on Input

The system routes the workflow based on the chat input, whether it's a request for availability or a general message.

9
Action

Schedule Appointment

If the user requests an appointment, the system creates a new event in their Microsoft Outlook calendar.

10
Action

Send Appointment Details

The system sends an email to the user with the appointment details.

11
Action

Forward Inquiry

If the chat input is a general inquiry, the system sends an email to the company founder with the user's message details.

Setup guide

1

Add OpenAI Credential

1. In the Latenode Credentials panel, add a new credential for OpenAI. 2. Enter your OpenAI API key.

2

Configure Microsoft Outlook Integration

1. In the Latenode Credentials panel, add a new credential for Microsoft Outlook. 2. Complete the OAuth2 authentication flow to grant Latenode access to your Microsoft Outlook account. 3. In the Microsoft Outlook node, select the credential you just added and configure any other necessary settings, such as the calendar you want to use.

3

Set up the Chat Trigger

1. Add a Chat Trigger node to your workflow. 2. Configure the webhook URL that your website will use to send chat inputs to Latenode.

4

Add the AI Agent Node

1. Add an AI Agent node to your workflow. 2. Select the OpenAI credential you configured earlier. 3. Configure the OpenAI language model settings, such as the temperature, to match your desired chatbot behavior.

5

Map Conversation Flow

1. Add a Switch node after the AI Agent to route the conversation flow based on the chat input. 2. Configure the Switch node to check for availability requests or general messages. 3. Connect the availability and message routes to the corresponding downstream nodes, such as the Microsoft Outlook integration and email sending.

Requirements

Create an OpenAI API account and obtain an API key to leverage the language model for natural conversation handling
Connect the chatbot to a Microsoft Outlook account to check calendar availability and schedule appointments
Integrate the chatbot with your website by adding a JavaScript snippet to enable visitor interactions
Set up lead capture and routing functionality to forward complex inquiries to the appropriate human agents

FAQ

Common questions about this template

Each run uses credits on your Latenode plan. We charge for processing time (1 credit = 30 seconds). Your actual cost depends on your plan and how long the run takes. See pricing plans for plans and how credits work.

More templates

You might also like

Browse all templates →
AI agents & chatbots

Automate Slack messaging with OpenAI GPT-3 completions

This automation allows users to automatically generate and send Slack messages based on specific prompts or triggers, leveraging the power of OpenAI's GPT-3 API. The automation is designed for AI, agents, and chatbot enthusiasts who want to create dynamic and personalized Slack communications without manual intervention. The automation connects to the Slack API and OpenAI's GPT-3 API to generate and send messages in response to defined triggers, such as specific keywords or phrases. This can be useful for automating routine updates, responding to customer inquiries, or generating creative content for Slack channels.

26s$0.0703
AI agents & chatbots

Transcribe Google Drive audio to text and send via email

This automation template helps users transcribe audio files stored in their Google Drive using the OpenAI Whisper AI model, and then automatically deliver the transcribed text via email. It provides a convenient way to convert audio recordings into text-based content that can be easily shared and referenced. The workflow is manually triggered, requiring the user to specify the Google Drive folder containing the audio files. The template then retrieves the files, transcribes them using the OpenAI Whisper API, and constructs an email message with the transcribed text, which is then sent to the designated recipient.

8s$0.0005
AI agents & chatbots

Automate Google Ads copywriting across multiple campaigns

This automation solution allows users to generate Google Ads headlines and descriptions directly within Google Sheets, using the OpenAI API to automate the ad copywriting process across multiple campaigns. The tool streamlines ad creation by leveraging AI-powered text generation, enabling marketers to efficiently produce high-performing ad copy at scale. By integrating with Google Sheets and the OpenAI API, this solution simplifies the ad creation workflow, saving time and improving campaign performance.

26s$0.0703