Auto-enrich companies mentioned in Slack
Build a Slack-native enrichment bot that listens for company mentions in designated channels, extracts company names or domains, enriches them with Lusha’s verified firmographic data, and posts the results as a thread reply—so your team gets instant account intelligence without leaving Slack.
Why this works
Sales and ops teams spend countless hours researching companies mentioned in Slack conversations: “Has anyone heard of Acme Corp?” “How big is that company?” “What industry are they in?”
The typical response loop is slow: someone switches to LinkedIn or Crunchbase, searches manually, copies findings back to Slack, and the conversation loses momentum.
This play makes company research instant and conversational. Mention a company, get enriched firmographics in seconds—posted right in the thread where it’s relevant.
What you get
- Instant Slack monitoring that triggers on new messages in designated channels
- Company extraction from natural language mentions (domains or company names)
- Real-time Lusha enrichment with industry, employee count, revenue, location, funding, and tech stack
- Thread replies that post enriched data directly in context without cluttering the channel
- Zero context switching – your team gets intelligence without opening new tabs
How to set it up
Use the Pipedream template
Start from the “Enrich Companies with Lusha API on New Message In Channels (Instant) from Slack API” template. It includes the Slack trigger and Lusha enrichment step pre-configured.
Connect your Slack workspace
Authenticate Pipedream with your Slack account. Grant permissions for:
- Reading messages from channels
- Posting replies to threads
- Accessing channel lists
Select channels to monitor
Choose which Slack channels the bot should listen to. Options:
- Monitor specific channels (#sales, #partnerships)
- Monitor all public channels (noisy, not recommended)
- Use a dedicated enrichment channel (#company-lookup)
Configure company extraction logic
Set up how the bot identifies company mentions:
Option A: Domain-based (most reliable)
- Trigger on any message containing a .com, .io, .ai domain
- Extract the domain and send to Lusha
Option B: Keyword/phrase trigger
- Only trigger when messages contain “!enrich [company]” or “@CompanyBot [company]”
- Extract company name from the command
Option C: AI-powered extraction
- Use Claude/GPT to parse company names from natural language
Connect Lusha API
Add your Lusha API key and map the extracted company identifier (domain or name) to the Lusha enrichment step.
Format the Slack response
Configure the thread reply with enriched data:
- Map Lusha fields to a readable Slack message format
- Add emojis or formatting for readability
- Include a timestamp and data source attribution
Add error handling
Set up fallback responses for edge cases:
- Company not found → “I couldn’t find data for [company]. Try using the domain instead.”
- API rate limit → “Too many requests right now. Try again in a minute.”
- Missing required data → Skip enrichment silently
Test in a private channel
Create a test Slack channel and try different mention patterns:
- Post a domain: “salesforce.com“
- Post a company name: “What’s the size of Salesforce?”
- Try an unknown company to test error handling
Confirm:
- Bot detects mentions correctly
- Lusha returns enriched data
- Thread reply posts with proper formatting
- Only relevant messages trigger enrichment
What to do next
- Add command options: Let users request specific data (e.g., “!enrich salesforce.com tech” returns only tech stack)
- Build a memory layer: Cache enriched companies so repeat mentions don’t waste API credits
- Add ICP scoring: Include a fit score in the response (“High fit” or “Not ICP”)
- Create shortcuts: Add Slack slash commands like /enrich [company] for explicit lookups
- Log all enrichments: Send enriched companies to a Google Sheet or CRM for later reference
- Restrict access: Limit which users or channels can trigger enrichment to control API usage
The goal: Company research doesn’t interrupt conversations. Mention a company in Slack, get verified firmographics instantly—no context switching, no manual lookups, just instant intelligence when you need it.
No FAQ items available at this time.
Ready to build this?
Get started with Lusha and set up this play in minutes.