Sitespeakai connects to a Nagent workspace with an API key. Once it is connected, agents can call 4 Sitespeakai actions, such as "Get Leads", "Get Smart Prompts" and "Get Authenticated User". Nothing is enabled on connect: each action is allowed one at a time, and an action with side effects runs or waits for a person according to the agent's level.
Every operation an agent can call against Sitespeakai, with input parameters and output schema.
SITESPEAKAI_GET_LEADSTool to retrieve all leads for your chatbot. Use when you need to access contact information captured through chatbot interactions.
Input parameters
The ID of your chatbot
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
SITESPEAKAI_GET_PROMPTSTool to retrieve smart prompts available for a chatbot. Use when you need to list prompts before selecting or managing them.
Input parameters
Unique identifier of the chatbot
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
SITESPEAKAI_GET_USERTool to retrieve details of the authenticated user account. Use after obtaining a valid bearer token and when you need the current user's profile.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
SITESPEAKAI_LIST_CHATBOTSTool to list all chatbots. Use when you need an overview of every chatbot linked to your account. No parameters required.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
Agents can call 4 Sitespeakai actions on Nagent, including "Get Leads", "Get Smart Prompts" and "Get Authenticated User". Get Leads: Retrieve all leads for your chatbot. Each action is listed on this page with its input parameters and its output.
Sitespeakai connects with an API key, under your workspace's own connection. Nothing is enabled on connect: each action is allowed one at a time and can be scoped to the agents that need it.
Get Leads takes 1 required input: chatbot_id. It returns data, error and successful.