This Pipedream template adds an enrichment bot to Slack. When someone mentions a company or domain in a channel you choose, the bot looks it up in Lusha and replies in the thread with verified company data. Your team gets company details right in the conversation, without leaving Slack.
Auto-enrich companies mentioned in Slack
Why enrich companies directly in Slack?
Sales and ops teams ask about companies in Slack all the time: “Has anyone heard of Acme Corp?” “How big are they?” “What industry are they in?”
Usually, someone switches to LinkedIn or Crunchbase, searches, and pastes the answer back, and the conversation loses momentum. This bot answers in seconds, in the same thread.
What this workflow does
- Listens for new messages in the Slack channels you choose
- Picks out company names or domains, using domains, a command like “!enrich,” or AI
- Enriches each company with Lusha, adding industry, employee count, revenue, location, funding, and tech stack
- Replies in the thread, so the channel stays clean
- Sends a helpful message when a company isn’t found or a limit is reached
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.
FAQ
Use this Pipedream template. It watches the Slack channels you choose, enriches any company mentioned with Lusha, and replies in the thread.
Industry, employee count, revenue, location, funding, and tech stack.
You choose: it can look for domains, respond to a command like “!enrich [company],” or use AI to find company names in regular messages.
Specific channels like #sales or #partnerships, or a dedicated lookup channel. Monitoring all public channels isn’t recommended, because it creates noise.
Use a command trigger instead of monitoring every message, limit which channels or users can trigger it, and cache companies that were already looked up.
Ready to run this?
One data connection. Works in Claude, ChatGPT, your CRM, or any agent you build.