Send a Teams message when someone runs update_orderstatus

What it does

When someone runs the update_orderstatus command in Teams, this automation posts a message to the channel. The message confirms the order status change was received and processed in real time.

Who it's for

Operations teams who need to update order status from Teams and notify the channel instantly.

How teams use this

Confirm order status changes in Teams

Run the update_orderstatus command and get an immediate message back in the channel. The team sees the update happened without leaving Teams or checking another system.

Let fulfillment teams update orders from chat

Invite the bot to a fulfillment channel so order status changes happen from the conversation. The same flow works for fulfillment without any setup changes needed.

Include order details in the confirmation message

Add order number and new status to the message so the channel sees exactly what changed. Set the message to include those fields each time the command runs.

Route updates to different channels by order type

Filter the command so rush orders post to one channel and standard orders post to another. Check the order type and only send the message to the right team.

How it works

  1. Run the update_orderstatus command. Type the update_orderstatus command in a Teams channel or direct message. Teams captures the command and passes it to this automation in real time.
  2. Post confirmation to Teams. Send a message to the same Teams channel so everyone knows the order status update was processed and the change is complete.