Integration
Ellesmere for HighLevel
Run an Ellesmere prompt from a HighLevel workflow, such as describing or editing a photo a contact sent, and continue when the result arrives.
How it works
This recipe uses the HighLevel steps you already have, an Ellesmere project hook to start the run, and a signed webhook to return the result. Project hooks are coming soon, so you can plan the workflow now and switch it on when they ship.
- 1
Create a hook for your project
On the project's Webhooks page, press New hook, name it, and copy its URL and secret.
- 2
Add a Webhook action
In your workflow, add a Webhook action that POSTs to the hook URL, with the secret as
?secret=if you can't set a header, and a JSON body with your prompt ID, variables and image. - 3
Start a second workflow with an Inbound Webhook trigger
Copy its URL into the request's
callbackUrl. Ellesmere posts the signed result there when the run finishes. - 4
Tie the result to the contact
Put the contact's ID in
metadata. It comes back untouched, so the second workflow knows whose result it is.
Sample request
The body your workflow sends to the hook URL, with sample values. metadata is echoed back untouched, so use it to carry the contact or opportunity ID.
{
"promptId": "prm_8f2k1c",
"label": "production",
"variables": {
"background": "white showroom",
"photo": "https://cdn.example.com/cars/1234.jpg"
},
"callbackUrl": "https://services.leadconnectorhq.com/hooks/your-inbound-webhook",
"idempotencyKey": "listing-1234-front",
"metadata": {
"listing_id": "1234"
}
} HighLevel Marketplace app
The HighLevel Marketplace app is on the roadmap. It will connect with an Ellesmere API key and run a prompt as a step of its own, with no webhook setup.