Retrieve lookup table data from Slack

Social, UtilitiesUtilities

What it does

When someone runs a command in Slack with a number, this automation checks if that number falls within a specific range. If it matches, the automation retrieves the entry from the lookup table and posts the result back to Slack.

Who it's for

Operations teams who need to retrieve lookup table data from Slack without leaving the conversation.

How teams use this

Find data without leaving Slack

Run the command with a number and get the lookup table entry posted to the channel instantly. The team stays in Slack and does not need to open another system.

Validate numbers before lookup

The automation only retrieves entries for numbers between 912 and 973. Numbers outside that range receive a no-match reply so the team knows the search did not apply.

Expand the lookup range

Adjust the number range conditions to include a wider or different set of values. Update the greater than and less than thresholds to match your lookup table scope.

Add a second lookup table

Include an additional lookup table to search when the first table has no match. Set a condition to check the second table only when the first lookup returns no result.

How it works

  1. Receive the lookup command. Type a command in Slack with a number to search. The automation receives the command in real time from the channel.
  2. Check the number range. Evaluate if the number is between 912 and 973. When the number falls within that range, look up the matching entry in the exper_lookup lookup table.
  3. Post the lookup result. Reply in Slack with the lookup table entry so the channel sees the data. If the number is outside the range, post a no-match message instead.