Webhooks
Deliver signed events to an HTTP endpoint.
MCP Tools
Let agents query APIs and take actions during a conversation.
Background Jobs
Automate filtered lead cohorts with steps and safeguards.
Pre-processors
Decide which agent receives a lead before a run starts.
Cloud Functions
Run JavaScript when a Nexor event occurs.
Scheduled Functions
Run JavaScript over a lead cohort on a cron schedule.
Environment Variables
Share write-only secrets with functions and tools.
Choose the right capability
Webhooks
Webhooks send outbound HTTP notifications when a supported status, meeting, or outreach event occurs. Each request carries an HMAC signature inX-Nexor-Signature, allowing the receiver to verify that the payload came from Nexor.
Use a webhook when your system only needs the event. If you need to filter, transform, branch, call multiple services, or write data back to the lead, use a Cloud Function.
Before enabling a webhook:
- configure its URL and events;
- store the signing secret in the receiving system;
- verify the signature against the unmodified body;
- return a
2xxresponse quickly; and - process idempotently because a delivery may be retried.
MCP Tools
An MCP tool describes an HTTP call the agent can make during a conversation. Its definition includes a name, description, method, URL, JSON parameter schema, headers, authentication, timeout, and response-handling rules.MCP Tools in this hub let a Nexor agent call your systems. The Nexor MCP Server works in the opposite direction: it lets Claude, Cursor, Codex, or another AI client administer Nexor.
- Shared catalog: a reusable tool that can be assigned to several agents.
- Agent tool: a one-off integration available only to that agent.
Background Jobs
Background Jobs run structured automations over leads. They can be triggered by cron, by a supported event, or only through the API. A job combines:- filters by agent, status, and lead data;
- conditions on metadata, variables, or tags;
- actions such as assigning or transferring an agent, changing status, sending a WhatsApp template, or calling an external API;
- per-cycle lead caps, cooldowns, and rate limits;
- exclusions for human-taken-over leads or paused agents;
- dry-run mode and per-execution logs.
Pre-processors
Pre-processors route leads before they enter an agent. Each processor has ordered rules and a default agent:- it receives a lead through the processor endpoint;
- it evaluates rules from top to bottom using top-level fields and
metadata; - it uses the first matching rule; and
- it sends the lead to the default agent when no rule matches.
Cloud Functions
Cloud Functions run isolated JavaScript when an agent event occurs. Code receives the payload inctx, can inspect lead, make requests with axios or fetch, write logs, return JSON, and propose changes with updateLead or updateMetadata.
Each function listens to one trigger. Simulate the payload, save to deploy, and inspect executions before activating it. HTTP calls made by a manual test are real even though proposed lead changes are not applied.
See the complete Cloud Functions guide for triggers, runtime, limits, examples, and logs.
Scheduled Functions
Scheduled Functions run isolated JavaScript on a cron expression and timezone. Each execution queries a lead cohort, exposes batch context to the code, and records its result and logs. Use one when the logic is too specific for a Background Job: aggregations, custom payloads, coordinated calls to multiple APIs, or rules that are clearer in JavaScript. Before enabling a function:- define the cron and timezone;
- narrow the query to the required cohort;
- preview the included leads;
- test with safe credentials and endpoints; and
- inspect logs and design writes to be idempotent.
A Background Job expresses filters and steps in a managed structure. A Scheduled Function gives you code-level control. Prefer the former when its actions cover the use case; use code for a custom transformation or integration.
Environment Variables
Environment Variables store secrets shared by Cloud Functions, Scheduled Functions, and MCP tools. Functions read them asenv.NAME, for example env.CRM_API_TOKEN. MCP tool authentication, headers, and query parameters reference them as {{env.NAME}}.
Values are write-only: after a secret is saved, the interface shows its name but never its value. Replacing a variable requires entering the complete value again. Names must start with an uppercase letter and contain only uppercase letters, numbers, and underscores.
An organization can store up to 128 variables, with names up to 64 characters and values up to 5 KiB.