Automation library · CRM

LoneScale - jobs intent data to Salesforce with OpenAI

Started by another system calling it, and works across Salesforce and Slack. It hands the judgement calls to OpenAI. 32 steps, 7 branches, 2 loops or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAI

32 stepsLarge: read it before trusting it with anything live
7Branches: places the flow splits
2Loops or waits
2Services it connects to

The flow

Starts it 1Model 1Logic 19Service 11

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

  1. 1JobIntentLoneScaleWebhookStarts it
  2. 2checkInternshipIfLogic
  3. 3detectSalesEngagementToolsCodeLogic
  4. 4search_account_linkedin_idSalesforceService
  5. 5If_find_1IfLogic
  6. 6get_accountSalesforceService
  7. 7search_account_domainSalesforceService
  8. 8update_accountSalesforceService
  9. 9If_find_4IfLogic
  10. 10check_prospects_included_intentIfLogic
  11. 11create_account1SalesforceService
  12. 12split_in_batchesSplit In BatchesLogic
  13. 13splitJobOffersItem ListsLogic
  14. 14search_contactSalesforceService
  15. 15split_in_batches1Split In BatchesLogic
  16. 16check_contact_existIfLogic
  17. 17cleanJobNameCodeLogic
  18. 18create_contact1SalesforceService
  19. 19IF1IfLogic
  20. 20detectJobBoardNameCodeLogic
  21. 21SetSetLogic
  22. 22create_custom_objectSalesforceService
  23. 23create_taskSalesforceService
  24. 24IFIfLogic
  25. 25post_slackSlackService
  26. 26Set2SetLogic
  27. 27MergeMergeLogic
  28. 28Clean ContentCodeLogic
  29. 29Set1SetLogic
  30. 30OpenAI - write IcebreakerOpen AiModel
  31. 31create_task_openAISalesforceService
  32. 32Parse JSONCodeLogic

How it's built

Starts on
Another system calling it
Steps
32, with 7 branches, 2 loops or waits
Size
Large: read it before trusting it with anything live
Connects to
Salesforce, Slack
Model
OpenAI

Questions

What does it need to run?

An n8n account, plus your own Salesforce and Slack accounts, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on another system calling it.

Does it use AI?

Yes. It calls OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 32 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 32 steps before you point it at anything that matters.