Name: Towards AI Legal Name: Towards AI, Inc. Description: Towards AI is the world's leading artificial intelligence (AI) and technology publication. Read by thought-leaders and decision-makers around the world. Phone Number: +1-650-246-9381 Email: pub@towardsai.net
228 Park Avenue South New York, NY 10003 United States
Website: Publisher: https://towardsai.net/#publisher Diversity Policy: https://towardsai.net/about Ethics Policy: https://towardsai.net/about Masthead: https://towardsai.net/about
Name: Towards AI Legal Name: Towards AI, Inc. Description: Towards AI is the world's leading artificial intelligence (AI) and technology publication. Founders: Roberto Iriondo, , Job Title: Co-founder and Advisor Works for: Towards AI, Inc. Follow Roberto: X, LinkedIn, GitHub, Google Scholar, Towards AI Profile, Medium, ML@CMU, FreeCodeCamp, Crunchbase, Bloomberg, Roberto Iriondo, Generative AI Lab, Generative AI Lab VeloxTrend Ultrarix Capital Partners Denis Piffaretti, Job Title: Co-founder Works for: Towards AI, Inc. Louie Peters, Job Title: Co-founder Works for: Towards AI, Inc. Louis-François Bouchard, Job Title: Co-founder Works for: Towards AI, Inc. Cover:
Towards AI Cover
Logo:
Towards AI Logo
Areas Served: Worldwide Alternate Name: Towards AI, Inc. Alternate Name: Towards AI Co. Alternate Name: towards ai Alternate Name: towardsai Alternate Name: towards.ai Alternate Name: tai Alternate Name: toward ai Alternate Name: toward.ai Alternate Name: Towards AI, Inc. Alternate Name: towardsai.net Alternate Name: pub.towardsai.net
5 stars – based on 497 reviews

Frequently Used, Contextual References

TODO: Remember to copy unique IDs whenever it needs used. i.e., URL: 304b2e42315e

Resources

Free: 6-day Agentic AI Engineering Email Guide.
Learnings from Towards AI's hands-on work with real clients.
AI Orchestration in Action: How MuleSoft and LLMs Fuel the Future of Enterprise AI
Artificial Intelligence   Latest   Machine Learning

AI Orchestration in Action: How MuleSoft and LLMs Fuel the Future of Enterprise AI

Last Updated on April 23, 2026 by Editorial Team

Author(s): CapeStart

Originally published on Towards AI.

AI Orchestration in Action: How MuleSoft and LLMs Fuel the Future of Enterprise AI

Nowadays, in the enterprise environment, information is dispersed across CRMs, ERPs, databases, and millions of APIs, resulting in an intricate web of disconnected data. At the same time, the realm of Artificial Intelligence is exploding with advanced tools such as LLMs for natural language processing and Image GPT for amazing image creation.

The major challenge for today’s business is unifying these two worlds. How do you seamlessly and securely integrate your business core systems with advanced AI models? The solution is AI Orchestration.

What is AI Orchestration? The Control Tower for Enterprise AI

Imagine an AI orchestrator as the master control tower for your intelligence and data. Its role is to orchestrate a complex sequence of actions with accuracy and effectiveness.

Fundamentally, the orchestrator:

  • Integrates with Enterprise Data: It integrates directly into your core systems, whether it’s an ERP, CRM, or a custom database.
  • Chooses the Optimal AI Model: It routes requests to the most appropriate model for the task, whether an LLM, an image model, or an analytics tool.
  • Delivers Clean, Secure APIs: It bundles the final, AI-fueled results into secure and well-structured APIs that can be consumed by any app.

The orchestrator is at the center of the action, determining what data to retrieve, which AI model to apply, and how to merge and serve up the final output.

Where MuleSoft Excels in the AI-Powered Enterprise

This is where a tool such as MuleSoft, the robust integration engine of Salesforce, comes into play. Previously renowned for its API-led strategy for integrating applications, MuleSoft is becoming the preferred platform for AI orchestration in enterprises.

Here’s how it plays into the new AI stack:

  • As an API Gateway & Renderer: MuleSoft is good at securing, managing, and exposing AI-powered APIs, making them robust and scalable.
  • As an Enterprise Connector: With a comprehensive set of out-of-the-box connectors for Salesforce, SAP, Oracle, and many others, MuleSoft can draw data from nearly any system.
  • As a Governance Layer: It offers a solid foundation for implementing authentication, controlling access, tracking usage, and maintaining compliance.
  • As a Lightweight Orchestrator: It can create straightforward yet strong flows, like retrieving data from a database, passing it to an LLM for processing, and returning a formatted result.

But MuleSoft is not used for sophisticated AI-native operations such as chaining prompts, multi-step reasoning, or conversational memory. Although you can create a prompt template and fill it up with information, an actual sophisticated orchestration demands a hybrid solution. This is where LangChain or LlamaIndex frameworks come into play to complement MuleSoft’s capabilities by processing the sophisticated AI logic and leaving MuleSoft to do enterprise integration.

A Real-World Example: AI-Orchestrated Sales Intelligence Assistant

Let’s consider a multinational company that wants to empower its sales and customer success teams with real-time data from all data sources they have, like CRM and external Databases.

Subscribe to the Medium newsletter

The goal:

  • Build a Sales Intelligence Assistant that can understand natural language questions like:

Show me which enterprise customers in EMEA are at risk of churn this quarter and draft a personalized retention email for each.

  • This requires pulling together fragmented enterprise data, running intelligent analysis, and returning results in CRM’s secure flow.

Here’s how the end-to-end flow would be realized via AI orchestration:

1. User Inquiry: A sales manager types the question directly into Salesforce’s Service Console. This request is sent as an API call to MuleSoft.

2. API Gateway & Security Layer (MuleSoft): MuleSoft acts as the entry point and authenticates the Salesforce user via OAuth, logs the request, and enforces governance rules (data masking, rate limits, and compliance).

3. Data Retrieval: MuleSoft orchestrates multiple data calls (All following data will be aggregated in MuleSoft into a unified payload):
a. Fetches customer data, renewal dates, and support ticket sentiment from Salesforce.
b. Pulls usage metrics from an external analytics database.
c. Queries contract and billing history from the external billing database linked with the payment service.

4. AI Orchestrator (MuleSoft + LangChain): MuleSoft passes the consolidated data to a LangChain-based microservice (hosted in AWS or Salesforce Data Cloud), follows:
a. The LLM analyzes churn risk by combining usage data, support sentiment, and renewal timelines.
b. It generates personalized retention messages for each high-risk customer based on the data fetched against them.

5. Response Packaging (MuleSoft): MuleSoft receives the AI results and formats them into a unified response. This is exposed back to Salesforce’s Service Console through a secure API without exposing any personal data of the customer.

6. Salesforce Experience Layer: The results appear as a dynamic dashboard in Salesforce, showing:
a. At-risk customers with churn probability scores
b. Auto-generated email drafts for approval to reach out to the customer
c. Suggested next steps based on the reasoning

Why This is a Breakthrough for Business

This choreographed strategy brings together the following transformative value:

  • Unified Data Access: Silos are eliminated, presenting a single, integrated view of enterprise data.
  • Intrinsic Governance: Security and compliance are part of the architecture, not bolted on afterward.
  • AI-Native Intelligence: The platform is capable of sophisticated reasoning, linking together disparate AI functions, and enabling multimodal outputs (text, images, etc.).
  • Reusable API-led Architecture: The same composed pipeline can drive not only chatbots, but internal analytics dashboards, marketing bots, and other applications.

More Than Chatbots: The Future of AI in Enterprises

The use cases go well beyond customer service. Consider these examples:

  • Analytics Dashboards: “Summarize the sales trends of last quarter in the EMEA region and create a corresponding chart.”
  • Automation Bots: “Create a personalized follow-up mail to our top 10 customers, including product images they have looked at and warranty information.”
  • E-commerce Assistants: “Create personalized product descriptions and lifestyle images for our new summer collection without exposing the entire database to an external AI model.”

The future of enterprise AI is not merely a matter of building more intelligent models. It’s building a smarter, more secure, and deeply integrated fabric that brings your enterprise data, your APIs, and the power of AI reasoning together. That is the promise of AI orchestration.

Join thousands of data leaders on the AI newsletter. Join over 80,000 subscribers and keep up to date with the latest developments in AI. From research to projects and ideas. If you are building an AI startup, an AI-related product, or a service, we invite you to consider becoming a sponsor.

Published via Towards AI


Towards AI Academy

We Build Enterprise-Grade AI. We'll Teach You to Master It Too.

15 engineers. 100,000+ students. Towards AI Academy teaches what actually survives production.

Start free — no commitment:

6-Day Agentic AI Engineering Email Guide — one practical lesson per day

Agents Architecture Cheatsheet — 3 years of architecture decisions in 6 pages

Our courses:

AI Engineering Certification — 90+ lessons from project selection to deployed product. The most comprehensive practical LLM course out there.

Agent Engineering Course — Hands on with production agent architectures, memory, routing, and eval frameworks — built from real enterprise engagements.

AI for Work — Understand, evaluate, and apply AI for complex work tasks.

Note: Article content contains the views of the contributing authors and not Towards AI.