Sync Slack user IDs from email on a schedule

Document/FileRecipe ToolsCRMMarketingCollaborationDeveloper ToolAPI Integration

What it does

When a scheduled interval triggers, this automation retrieves Slack user information by email address. It posts the user ID to Slack so someone can reference that ID in other workflows or systems.

Who it's for

IT teams who need to look up Slack user IDs by email address on a recurring basis.

How teams use this

Look up user IDs for access requests

Retrieve Slack user IDs by email on a daily schedule and post them to a channel so IT can quickly reference them when provisioning access or managing permissions.

Sync IDs to a different Slack workspace

Run this automation in a second workspace and post results to a shared channel there. The lookup stays the same and only the destination channel changes.

Filter results by department or status

Add a condition to only retrieve and post user IDs for active employees in a specific department. This requires adding a department filter to the user lookup step.

How it works

  1. Run on a specified interval. This automation starts at the scheduled time you set, such as daily or weekly, without requiring manual input.
  2. Get user info by email. Retrieve the Slack user details, including the user ID, by searching for an email address stored in the workflow.
  3. Post the user ID in Slack. Send a message to a Slack channel with the user ID so someone on the team can see and reference the result.