Automation library · Lead generation

Enrich and deduplicate Slack-uploaded companies in HubSpot

Started by an event in a connected app, and works across HubSpot, Slack and n8n data table. 27 steps, 3 branches: large, and worth reading before you trust it with anything live.

Large

27 stepsLarge: read it before trusting it with anything live
3Branches: places the flow splits
0Loops or waits
3Services it connects to

The flow

Starts it 1Logic 6Service 20

The steps in the order they run, from what starts it.

  1. 1When Slack File UploadedSlack triggerStarts it
  2. 2Download Slack FileSlackService
  3. 3Notify Slack on File DownloadSlackService
  4. 4Fetch File ContentsHttp RequestService
  5. 5Extract Data from FileExtract From FileService
  6. 6Insert File Data into TableData TableService
  7. 7Search Company by DomainHubspotService
  8. 8Check HubSpot Company IDIfLogic
  9. 9Summarize Existing CompanySummarizeService
  10. 10Combine Approval ResultsMergeLogic
  11. 11Retrieve Current Table RowsData TableService
  12. 12Await Slack User ApprovalSlackService
  13. 13Clear table for next useData TableService
  14. 14Enrich new companyCoresignalService
  15. 15Clear the table for next useData TableService
  16. 16Verify Approval from SlackIfLogic
  17. 17Enrich Existing companyCoresignalService
  18. 18Check if Company ExistsIfLogic
  19. 19Discard Unapproved RowsData TableService
  20. 20Process Company FieldsCodeLogic
  21. 21Summarize Enrichment StatusSummarizeService
  22. 22Create New HubSpot CompanyHubspotService
  23. 23Update HubSpot Company DataHubspotService
  24. 24Combine All SummariesMergeLogic
  25. 25Summarize Company CreationSummarizeService
  26. 26Summarize Update ResultsSummarizeService
  27. 27Post Results to SlackSlackService

How it's built

Starts on
An event in a connected app
Steps
27, with 3 branches
Size
Large: read it before trusting it with anything live
Connects to
HubSpot, Slack, n8n data table
Model
None. This is plumbing, not judgement

Questions

What does it need to run?

An n8n account, plus your own HubSpot and Slack accounts. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an event in a connected app.

Does it use AI?

No. Every step is fixed logic or a call to a service, so it does the same thing every time.

How long does it take to set up?

Take your time. At 27 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

Before you run it

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 27 steps before you point it at anything that matters.