• FILTERED
  • ROUTED
  • LOGGED
  • MANUAL

How to route messages with custom metadata with your agent

Connect your agent to Azure Service Bus once. From there, your agent handles the property tagging required to hit specific subscriptions.

Ask AI about this page

Our technology reaches across leading technology and enterprise teams.

  • Amazon
  • NVIDIA
  • Red Hat
  • Fidelity Investments
  • Intuit
  • OLX Brasil
  • Writesonic
  • Artium
  • Trolley
Bunny World Voxel Workspace

Short answer

How can my AI route messages using custom metadata?

Your agent uses the publish_message tool to include specific key-value pairs in the message payload. These properties trigger Azure Service Bus subscription filters to move the message to the right destination. You'll see how this works in the breakdown below.

Routing outcomes

Where your messages land.

Your agent uses metadata to ensure each payload reaches its intended target.

FILTERED

Correct subscription

Your agent attaches metadata that matches your subscription filters. The message lands exactly where it belongs based on those properties.

ROUTED

Automated paths

Instead of sending everything to one place, your agent tags messages so Azure handles the distribution.

LOGGED

Traceable payloads

Because your agent includes custom properties, you can track why a message was routed to a specific handler.

MANUAL

Human review

If your agent generates metadata that doesn't match any existing filters, the message won't route. You'll need to check your subscription rules.

The workflow

What your agent does when a message needs sending.

Your agent handles the payload construction and property assignment in one go.

  1. Analyze routing needs

    Your agent looks at the message content and determines which custom properties are required for your Service Bus filters.

    publish_message
  2. Construct the payload

    Your agent builds the message body and maps the necessary metadata keys to their specific values.

    publish_message
  3. Execute the send

    Your agent calls the tool to push the message into the topic with the attached properties.

    publish_message
  4. Confirm delivery

    Your agent verifies the operation was successful so you know the message is in the system.

    publish_message

Vinkius Agentic Execution Platform

State the outcome. Agents take it from there.

You don't have to drive this run by hand. Inside the Vinkius Agentic Execution Platform, agents pick up the task above and carry it to the end: you set the limits, you watch the steps, you keep all decisions.

Run it in Vinkius

Agents carry the task to the end

Agents execute Azure Service Bus Topic tasks from end to end inside the Vinkius Agentic Execution Platform: set the outcome, and the steps run.

Take it to any compatible AI

One connection, any client

Same connection follows you to ChatGPT, Claude, Gemini and any other client you love. Switch whenever you want: your connection, your permissions and your record move with you.

Spaces

One Space per activity

A Space gathers the context, tools and tasks of one activity, so you coordinate several agents at once and follow each execution as it happens.

Limits

Autonomy inside limits you set

Permissions and spending limits are yours to define. Agents halt for your approval on anything sensitive, and you choose how far autonomy goes, step by step or end to end.

Record

All steps, on the record

Each action your agents take lands in a signed audit trail. Results are verified, mistakes are learned from, and an emergency stop is one click away.

Models

Included in your plan

A curated selection of AI models is included in your plan, and you can add your own through BYOK whenever you prefer.

Try it

Copy these to start.

Use these prompts to begin routing messages immediately.

Starting points

These are opening lines. Swap out the topic names and property keys to match your Azure setup.

Azure Service Bus Topic Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_GM5MOjdM1wYoxb9yf6yuga4ArrveKqVAH1ZyGJsL/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat, Azure Service Bus Topic capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "azure-service-bus-topic-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_GM5MOjdM1wYoxb9yf6yuga4ArrveKqVAH1ZyGJsL/mcp"
    }
  }
}
Copy into chat04
  • 01

    Publish a message to the 'orders-topic' with a custom property 'region' set to 'north-america'.

  • 02

    Send a message to the 'telemetry' topic and include a metadata property for 'device_id'.

  • 03

    Route a high-priority alert to the 'system-events' topic using a 'priority' metadata tag.

  • 04

    Create a message for the 'user-logs' topic with custom metadata for 'user_type'.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Azure Service Bus Topic once, then ask.

Link your account once. Your credentials stay encrypted, and you can start sending routed messages through any MCP-compatible client.

Connect Azure Service Bus Topic to your agent

FAQ

How this task behaves.

  • 01

    Can your agent create new Service Bus subscriptions?

    No. Your agent can only publish messages to existing topics using the available tools.

  • 02

    Will your agent change my existing routing rules?

    No. Your agent only interacts with the data being sent. It cannot modify the subscription filters or rules in Azure.

  • 03

    How does your agent know which metadata keys to use?

    You tell your agent which keys and values to include in your prompt, or it can infer them from your instructions.

  • 04

    Can your agent delete messages from the topic?

    No. This MCP is designed for publishing messages, not managing or deleting them from the queue.

  • 05

    Does your agent handle the connection to Azure?

    Yes. Once you connect the MCP, your agent uses the established connection to send the payloads.

  • More questions about Azure Service Bus Topic? The Connector page answers them. See everything the Azure Service Bus Topic Connector can do

Building with AI? Ship this whole workflow in your product.

Vinkius Connect is the connectivity layer for AI builders. All the capabilities used on this page, from Azure Service Bus Topic to thousands more, arrive through one SDK, already maintained for you. One Application, unlimited seats, each with their own connectors and credentials, isolated and never exposed to Vinkius. No OAuth flows to write, no tokens to store, no APIs to chase.

Explore Vinkius Connect

TypeScript · Python · Java · Go · C# · PHP · Rust

  • 01

    Your customers bring their own keys.

    Each user connects their own apps and keeps their own credentials. Vinkius only sees the identifier your backend sends.

  • 02

    Whole catalog, kept current.

    Azure Service Bus Topic plus thousands more, maintained and growing daily. No integrations to write, no token storage, no OAuth plumbing.

  • 03

    Any agent, any model.

    Capabilities land as framework-neutral objects, with adapters for OpenAI, Anthropic, Gemini, the Vercel AI SDK, LangChain and more.

Connect Azure Service Bus Topic to Claude, Cursor, ChatGPT & more

From idea to done

See what gets done when the agents take over the busywork

Each workflow on this page runs on the same platform. Connect your tools once, and your agents keep working in any AI you trust.