Skip to main content

Build an AI IT support agent with Azure Search, Entra ID & Jira

Workflow preview

Workflow preview
100%
Build an AI IT support agent with Azure Search, Entra ID & Jira preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

An intelligent IT support agent that uses Azure AI Search for knowledge retrieval, Microsoft Entra ID integration for user management, and Jira for ticket creation. The agent can answer questions u...

Best for

  • Support Chatbot automation workflows
  • AI RAG automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

@n8n/n8n-nodes-langchain.chattrigger, @n8n/n8n-nodes-langchain.lmchatgooglegemini, @n8n/n8n-nodes-langchain.memorybufferwindow, n8n-nodes-base.jiratool, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.formtrigger, n8n-nodes-base.splitout, n8n-nodes-base.httprequest

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Adam Bertram.

Original n8n.io source

1.1 Workflow description

Title
Build an AI IT support agent with Azure Search, Entra ID & Jira
Workflow name
Build an AI IT support agent with Azure Search, Entra ID & Jira

An intelligent IT support agent that uses Azure AI Search for knowledge retrieval, Microsoft Entra ID integration for user management, and Jira for ticket creation. The agent can answer questions using internal documentation and perform administrative tasks like password resets.

How It Works

The workflow operates in three main sections:

Agent Chat Interface: A chat trigger receives user messages and routes them to an AI agent powered by Google Gemini. The agent maintains conversation context using buffer memory and has access to multiple tools for different tasks.

Knowledge Management: Users can upload documentation files (.txt, .md) through a form trigger. These documents are processed, converted to embeddings using OpenAI's API, and stored in an Azure AI Search index with vector search capabilities.

Administrative Tools: The agent can query Microsoft Entra ID to find users, reset passwords, and create Jira tickets when issues need escalation. It uses semantic search to find relevant internal documentation before responding to user queries.

The workflow includes a separate setup section that creates the Azure AI Search service and index with proper vector search configuration, semantic search capabilities, and the required field schema.

Prerequisites

To use this template, you'll need:

  • n8n cloud or self-hosted instance
  • Azure subscription with permissions to create AI Search services
  • Microsoft Entra ID (Azure AD) access with user management permissions
  • OpenAI API account for embeddings
  • Google Gemini API access
  • Jira Software Cloud instance
  • Basic understanding of Azure resource management

Setup Instructions

  1. Import the template into n8n.

  2. Configure credentials:

    • Add Google Gemini API credentials
    • Add OpenAI API credentials for embeddings
    • Add Microsoft Azure OAuth2 credentials with appropriate permissions
    • Add Microsoft Entra ID OAuth2 credentials
    • Add Jira Software Cloud API credentials
  3. Update workflow parameters:

    • Open the "Set Common Fields" nodes
    • Replace <azure subscription id> with your Azure subscription ID
    • Replace <azure resource group> with your target resource group name
    • Replace <azure region> with your preferred Azure region
    • Replace <azure ai search service name> with your desired service name
    • Replace <azure ai search index name> with your desired index name
    • Update the Jira project ID in the "Create Jira Ticket" node
  4. Set up Azure infrastructure:

    • Run the manual trigger "When clicking 'Test workflow'" to create the Azure AI Search service and index
    • This creates the vector search index with semantic search configuration
  5. Configure the vector store webhook:

    • Update the "Invoke Query Vector Store Webhook" node URL with your actual webhook endpoint
    • The webhook URL should point to the "Semantic Search" webhook in the same workflow
  6. Upload knowledge base:

    • Use the "On Knowledge Upload" form to upload your internal documentation
    • Supported formats: .txt and .md files
    • Documents will be automatically embedded and indexed
  7. Test the setup:

    • Use the chat interface to verify the agent responds appropriately
    • Test knowledge retrieval with questions about uploaded documentation
    • Verify Entra ID integration and Jira ticket creation

Security Considerations

  • Use least-privilege access for all API credentials
  • Microsoft Entra ID credentials should have limited user management permissions
  • Azure credentials need Search Service Contributor and Search Index Data Contributor roles
  • OpenAI API key should have usage limits configured
  • Jira credentials should be restricted to specific projects
  • Consider implementing rate limiting on the chat interface
  • Review password reset policies and ensure force password change is enabled
  • Validate all user inputs before processing administrative requests

Extending the Template

You could enhance this template by:

  • Adding support for additional file formats (PDF, DOCX) in the knowledge upload
  • Implementing role-based access control for different administrative functions
  • Adding integration with other ITSM tools beyond Jira
  • Creating automated escalation rules based on query complexity
  • Adding analytics and reporting for support interactions
  • Implementing multi-language support for international organizations
  • Adding approval workflows for sensitive administrative actions
  • Integrating with Microsoft Teams or Slack for notifications

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - When chat message received

Type / Role
@n8n/n8n-nodes-langchain.chatTrigger - chatTrigger
Config choices
Version 1.1

Block 2 - Google Gemini Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - lmChatGoogleGemini
Config choices
Version 1

Block 3 - Simple Memory

Type / Role
@n8n/n8n-nodes-langchain.memoryBufferWindow - memoryBufferWindow
Config choices
Version 1.3

Block 4 - Create Jira Ticket

Type / Role
n8n-nodes-base.jiraTool - jiraTool
Config choices
Version 1

Block 5 - IT Support Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 1.8

Block 6 - On Knowledge Upload

Type / Role
n8n-nodes-base.formTrigger - formTrigger
Config choices
Version 2.2

Block 7 - Split Out Binary Files

Type / Role
n8n-nodes-base.splitOut - splitOut
Config choices
Version 1

Block 8 - Get Embeddings

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 9 - Prep Content

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 10 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - When clicking ‘Test workflow’

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 12 - Set Common Fields

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 13 - Create Azure AI Search Service

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 14 - Get Azure AI Search Admin Key

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 15 - Create Azure AI Vector Index

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 16 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 17 - Get Azure AI Search Admin Key1

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 18 - Set Common Fields1

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 19 - Upload Embedding to Vector Store

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 20 - Get Embeddings1

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 21 - Semantic Search

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 2

Block 22 - Invoke Query Vector Store Webhook

Type / Role
n8n-nodes-base.httpRequestTool - httpRequestTool
Config choices
Version 4.2

Block 23 - Get Azure AI Search Admin Key2

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 24 - Enable Semantic Search

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Showing the first 24 of 30 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Build an AI IT support agent with Azure Search, Entra ID & Jira
Complexity advanced
Nodes 30
Categories Support Chatbot, AI RAG
Author Adam Bertram
Published 01 Jun 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/4560/4560.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Build an AI IT support agent with Azure Search, Entra ID & Jira do?

An intelligent IT support agent that uses Azure AI Search for knowledge retrieval, Microsoft Entra ID integration for user management, and Jira for ticket creation. The agent can answer questions u...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Support Chatbot, AI RAG use case.