HeySale — AI Website Salesperson

v1.2.0
io.github.heysale/heysale Checked 2 days ago Published 21 days ago

Create and install an AI Website Salesperson for sales, qualification, and lead capture.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

create_website_salesperson Create a website salesperson

Give any public website an AI salesperson that talks to its visitors, answers questions about the business, and captures leads. Use this when someone wants to add a salesperson, live chat, a sales assistant or a chatbot alternative to a site. Provide the website address; the salesperson reads the site itself. The response always includes an explicit salesperson_id — keep it, because every other HeySale tool needs it — plus the one-line install script, a claim_url to give the website owner, and a private access_token — keep it and pass it to the other salesperson tools; never share it. Ca…

ParameterTypeDescription
website_url *stringThe public website address, e.g. https://example.com
business_namestringThe business name, if known.
campaignstring
external_project_idstringA stable id for the calling project, so repeat calls reuse the same salesperson.
integration_sourcestringThe AI platform making this call, e.g. claude, chatgpt, cursor, lovable, replit.

check_salesperson_status Check a salesperson's readiness

Find out whether a website salesperson has finished reading the website and is ready to talk to visitors, and whether its script has been detected on the live site. Give it the salesperson_id and the access_token returned when the salesperson was created.

ParameterTypeDescription
salesperson_id *stringThe salesperson_id returned by create_website_salesperson.
access_tokenstringThe private access_token returned by create_website_salesperson. Required to see details while the salesperson is unclaimed. Never share it with anyone else.
api_keystringDevelopers only. Not required for setup, and never ask a website owner for one.

get_salesperson_installation Get the install script

Return the exact one-line script to add to a website so its salesperson appears for visitors, plus where to place it and whether HeySale has detected it yet. Give it the salesperson_id and the access_token returned when the salesperson was created.

ParameterTypeDescription
salesperson_id *stringThe salesperson_id returned by create_website_salesperson.
access_tokenstringThe private access_token returned by create_website_salesperson. Required to see details while the salesperson is unclaimed. Never share it with anyone else.
api_keystringDevelopers only. Not required for setup, and never ask a website owner for one.

verify_salesperson_installation Verify a salesperson's website installation

Check whether a HeySale salesperson has actually been installed on its website and is reporting back to HeySale. Uses HeySale's own telemetry, so it works with single-page apps, tag managers and deferred script loading — never scrape the website's HTML to answer this. Give it the salesperson_id and the access_token returned when the salesperson was created.

ParameterTypeDescription
salesperson_id *stringThe salesperson_id returned by create_website_salesperson.
access_tokenstringThe private access_token returned by create_website_salesperson. Required to see details while the salesperson is unclaimed. Never share it with anyone else.
api_keystringDevelopers only. Not required for setup, and never ask a website owner for one.

configure_salesperson Change how a salesperson introduces itself

Change a salesperson's name, its opening line, or the goal it works towards. While a salesperson is still unclaimed this can be set as part of setting it up. Once the website owner has claimed it, changes must be made by the owner in HeySale — do not ask anyone for an API key.

ParameterTypeDescription
salesperson_id *stringThe salesperson_id returned by create_website_salesperson.
api_keystringDevelopers only. Not required, and never ask a website owner for one.
greetingstring
namestring
objectivestringWhat the salesperson should aim for.

get_salesperson_results See what the salesperson achieved

Summarise how many visitors talked to the salesperson, how many left their details, and what they asked about most. This is private business data: it is only returned to an authorised caller. Never ask a website owner for an API key — send them to HeySale instead.

ParameterTypeDescription
salesperson_id *stringThe salesperson_id returned by create_website_salesperson.
api_keystringDevelopers only. Not required for setup, and never ask a website owner for one.
daysinteger