Send a menu from Teams to Lookup Table

Recipe Tools

What it does

When someone runs the show_menu_js command in Teams, this automation posts a menu reply in the conversation. The lookup table records the command for tracking and audit purposes.

Who it's for

Operations teams who need to display a menu and track command usage from Teams.

How teams use this

Display a menu on demand

Someone runs the show_menu_js command and gets the menu posted in Teams right away. The team can see all options without leaving the conversation.

Track menu requests across teams

Each time the command runs, the lookup table records it so multiple teams can measure how often the menu is used. No extra setup is needed beyond what this automation does.

Filter logs by user or date range

Extend the lookup table to include filters so the team can query only menu requests from a specific person or time period. The table schema and query logic need to change.

How it works

  1. Run the menu command. Type the show_menu_js command in a Teams channel or direct message to request the menu.
  2. Post the menu reply. Teams posts the menu as a reply in the same conversation so someone can see the options right away.
  3. Log the command to the table. The lookup table records an entry with the command details, timestamp, and user so the request is stored for audit and reporting.