Make your Leadlock agent call first from GoHighLevel or n8n
Turn on outbound calling for your agent, then trigger live calls from a GoHighLevel tag workflow or an n8n workflow.
About 10 minutes
- 1
Set your agent to Outbound or Both in the app
Open your agent inside the Leadlock app and switch it to Outbound or Both. You have to do this in the app itself, even if you built the agent another way.
- 2
Read and accept the consent screen
A consent screen appears after you switch the agent on. Read it, make sure you agree, and accept it.
- 3
Copy your agent ID
Click the agent ID to copy it. You will see Agent ID copied.
- 4
Start a GoHighLevel workflow on a tag
In GoHighLevel, build a workflow with the trigger set to when a tag is added to a contact, using the call me now tag. The workflow calls the contact, then removes the tag.
- 5
Create an API key and paste it into the workflow
In the sub-account, go to settings, then API keys, then manage. Name the key, click create key, copy it, and paste it into your workflow.
- 6
Add the agent ID, save and publish
Paste your agent ID into the workflow. Save the action, save the workflow, then publish it.
- 7
Apply the call me now tag to test
Add the call me now tag to your own contact. Your phone rings and the agent starts talking when you answer.
- 8
Set up X-API-Key header auth in n8n
In n8n, create a header auth credential with the header name X-API-Key. Put your API key in as the value, give the credential a name, and save it.
- 9
Fill in the agent ID and to number in n8n
In the step that sets the variables, paste your agent ID. Enter the to number, which you can also make a variable.
- 10
Execute the n8n workflow and answer the call
Click execute workflow and answer your phone. If you see not found or doesn't belong to tenant, the API key may be from a different sub-account, so use the key from the right one.