Route Teams messages to Azure intent validation

Recipe Tools

What it does

When someone sends a help message to Teams, this automation validates the request against project rules. It extracts the intent and routes to the correct lookup function to return the right data.

Who it's for

Operations teams who need to route incoming Teams requests to the correct backend service without manual sorting.

How teams use this

Validate and route account lookups

Someone asks for an account by name in Teams. The automation validates the request, extracts the intent, and calls the account name lookup to return results in the channel.

Prevent invalid requests from routing

A message fails project validation so the automation stops before calling any lookup function. The person does not see a confusing error from a backend service.

Add a new intent and lookup path

Include a new intent type in the Get Azure Intents Entities function and add a matching condition and lookup call. The routing logic expands without changing the validation or extraction steps.

How it works

  1. Receive a help message in Teams. Someone sends a help message to Teams in real time, which starts this automation immediately.
  2. Validate the request. Call the Common Project Validations function in Workato Recipe Function to check the message against project rules. If validation fails, the automation stops.
  3. Extract intent and entities. Call the Get Azure Intents Entities function to parse the message and determine what the person is asking for based on the content.
  4. Route to the matching lookup. Based on the intent returned, call Get Accounts By Name, Get Account By Account Number, or another lookup function to fetch the requested data.