Slack-GitHub User Info
This workflow automatically queries detailed information for a specified GitHub username by receiving user commands in Slack, and sends the organized information back to Slack as a message, making it easy for team members to quickly access developer information. It effectively addresses the cumbersome process of manually searching for information, enhancing communication efficiency and collaboration experience. By integrating Webhook triggers, flexible GraphQL queries, and custom functions, it ensures that the information is accurate and free of redundancy, making it suitable for various scenarios such as development teams, project managers, and human resources.

Workflow Name
Slack-GitHub User Info
Key Features and Highlights
This workflow automates the retrieval of detailed GitHub user information by receiving user commands in Slack and invoking the GitHub GraphQL API. It compiles user profiles—including name, email, company, location, and avatar—and sends them back to the corresponding Slack channel as rich messages, enabling team members to quickly access developer information.
The highlights include the integration of webhook triggers, flexible GraphQL queries, and custom functions to filter email data, ensuring accurate and concise information without redundancy.
Core Problem Addressed
Team members typically need to manually search for developer information on GitHub, which is time-consuming and fragmented. This workflow automates the process, rapidly consolidating user identities and contact details to improve communication efficiency and collaboration experience.
Use Cases
- Development teams quickly querying GitHub profiles of colleagues or open-source contributors within Slack.
- Project managers or technical leads needing to understand contributors’ backgrounds and contact information.
- HR or recruitment teams accessing candidates’ publicly available technical information.
Main Workflow Steps
- Webhook node receives requests from Slack, triggering the workflow.
- GraphQL node calls the GitHub API to fetch detailed information for the specified username and the committers’ emails from their latest 25 Pull Requests.
- Function node processes the data, deduplicating and filtering out GitHub-generated anonymous emails to compile a valid email list.
- Slack node sends the organized user information back to the Slack channel as message attachments, including name, email, company, location, and avatar.
Involved Systems and Services
- Slack: Serves as the trigger entry point and feedback platform.
- GitHub GraphQL API: Retrieves detailed user and commit data.
- n8n Webhook: Receives external requests to trigger the workflow.
- Custom Function node: Processes and filters data.
Target Users and Value
- Software development team members and managers seeking to enhance communication efficiency.
- Technical leads requiring quick access to contributor information during project collaboration.
- Enterprises or open-source communities integrating GitHub public data into Slack.
- Technical operations personnel aiming to automate developer information queries.
This workflow streamlines cross-platform information retrieval and sharing, helping teams quickly identify key personnel and boosting collaboration efficiency and communication quality.