• LOGIC
  • AUTOMATION
  • CONTROL
  • HUMAN

How to route messages with metadata with your agent

Connect your agent to Azure Service Bus to handle complex message distribution. Your agent handles the logic of tagging payloads so the infrastructure does the routing.

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 to specific subscriptions?

Your agent uses the publish_message tool to include custom properties in the message payload. These properties act as keys that Azure Service Bus uses to match messages to specific subscriptions. You get precise control over message delivery without manual filtering.

Where messages land.

Targeted message delivery.

Your agent decides which subscription gets which message based on the metadata it attaches.

LOGIC

Targeted delivery

Your agent identifies the necessary routing keys for a specific payload. It ensures the message hits the right subscription immediately.

AUTOMATION

Zero manual filtering

Because your agent attaches the metadata, your downstream services don't have to sift through irrelevant traffic. Everything arrives pre-sorted.

CONTROL

Custom properties

You tell your agent which attributes matter for routing. It maps your intent to the specific metadata fields required by your topic.

HUMAN

Manual overrides

If a message lacks the right properties, it won't match a subscription. You'll need to step in to fix the payload or the routing rules.

The workflow

What your agent does when a message arrives.

Your agent acts as the intelligent bridge between your intent and the Service Bus infrastructure.

  1. Analyze intent

    Your agent looks at the data you want to send and determines which routing properties are needed to satisfy your subscription filters.

    publish_message
  2. Attach metadata

    Your agent prepares the payload by injecting the specific custom properties required for the topic's rules.

    publish_message
  3. Send payload

    Your agent executes the delivery by pushing the tagged message into the Azure Service Bus Topic.

    publish_message
  4. Confirm delivery

    Your agent verifies the message was successfully handed off to the bus so you know the routing logic worked.

    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 trigger the routing logic.

Starting points

Swap out the bracketed text for your actual topic names and property keys.

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_5Ndl1HpvG81fn9zpmbqNjYAklodQCPYPAfw3rSIk/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-alternative-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_5Ndl1HpvG81fn9zpmbqNjYAklodQCPYPAfw3rSIk/mcp"
    }
  }
}
Copy into chat04
  • 01

    Publish a message to the 'orders-topic' and add a 'region' property set to 'north-america'.

  • 02

    Send a message to the 'sensor-data' topic with a custom metadata property 'priority' set to 'high'.

  • 03

    Route this JSON payload to the 'telemetry' topic using 'device_id' as the routing key.

  • 04

    Add a 'tenant_id' property to this message before publishing it to the 'user-events' topic.

  • 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 immediately start telling your agent to publish and route messages.

Connect Azure Service Bus Topic to your agent

FAQ

How this task behaves.

  • 01

    Can your agent create new subscriptions in Azure?

    No. Your agent can only publish messages with metadata to existing topics and subscriptions.

  • 02

    What happens if your agent uses the wrong metadata key?

    The message will be published, but it won't match your subscription filters. It will sit in the topic or go to a dead-letter queue if you have one configured.

  • 03

    Does your agent decide the routing rules?

    No. The routing rules are set in your Azure Service Bus configuration. Your agent only provides the metadata that those rules look for.

  • 04

    Can I send large files through this connector?

    Your agent sends messages via the publish_message tool. The size is limited by the standard Azure Service Bus message constraints.

  • 05

    Will your agent delete messages from the queue?

    No. This connector only has the capability to publish messages. It cannot read, move, or delete messages from your subscriptions.

  • 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.