RylvoRylvo

Rylvo Connectors: Bridge Your AI Bots to Any External System with Webhook-Based Tool, State Sync, and Event Integrations

Rylvo TeamMay 17, 202695 min read

Rylvo Connectors: Bridge Your AI Bots to Any External System with Webhook-Based Tool, State Sync, and Event Integrations

AI bots that only talk are not very useful. A customer support bot that can discuss refund policies but cannot actually create a ticket is frustrating. A sales bot that can describe products but cannot check inventory or place orders is a missed opportunity. A technical support bot that can ask diagnostic questions but cannot query your device database or update a service record is half a solution.

The real power of AI bots comes from their ability to act — to call your systems, read your data, and trigger your workflows. But connecting bots to external systems is traditionally an engineering project. You need to build API clients, handle authentication, manage retries, map data formats, monitor health, and keep everything in sync as APIs evolve. By the time you have connected three systems, you have built a fragile integration layer that your team dreads maintaining.

Rylvo Connectors solves this by providing a unified webhook-based integration framework. Instead of writing glue code, you register HTTP endpoints that Rylvo calls when needed. Three connector types cover every integration pattern: Tool Connectors for executing actions on your systems, State Sync Connectors for reading and writing workflow state, and Event Connectors for receiving real-time notifications. Seven authentication methods handle every security requirement. Health monitoring, retry logic, and metrics are built in. And the Workspace Architect automatically patches bot prompts so the LLM knows exactly which connectors are available and when to use them.

In this guide, we will explore the complete Connectors system: the three connector types, seven authentication methods, the architecture flow, bot integration, the dashboard, health monitoring, Mission Control integration, and how to connect your first external system in minutes.


Why Connectors Matter for AI Bots

Modern AI bots are powered by large language models that excel at reasoning, language understanding, and contextual response generation. But LLMs cannot interact with the real world on their own. They cannot create Salesforce leads, query your inventory database, send Slack notifications, or update customer records.

Function calling bridges this gap. The LLM decides which action to take, and the platform executes it. Rylvo Connectors is the execution layer that translates LLM decisions into real system calls. When the bot decides to create a support ticket, Rylvo calls your endpoint. When it decides to check order status, Rylvo reads from your database. When an escalation happens, Rylvo notifies your team via webhook.

This architecture keeps your data where it belongs — in your systems. Rylvo never stores your database contents or CRM records. It calls your endpoints when needed, receives the response, and passes it back to the LLM to continue the conversation.


Three Connector Types for Every Integration Pattern

Rylvo Connectors supports three distinct connector types, each designed for a different integration pattern.

Tool Connectors: Execute Actions on Your Systems

Tool connectors are the most common type. They expose actions that the LLM can invoke during a conversation — creating tickets, updating records, charging payments, querying APIs, sending messages, or any other operation your systems support.

When you register a tool connector, you provide: a tool name and description, a JSON Schema defining the input parameters the LLM should provide, an optional output schema for the response, an HTTP endpoint URL and method, and authentication credentials. Rylvo includes this tool in the LLM's available tools list. When the LLM decides to call the tool, Rylvo POSTs to your endpoint with the arguments, receives the result, and passes it back to the LLM for continuation.

Tool connectors support powerful features. Stage gating restricts tools to specific workflow stages. Approval gates with Mission Control integration require human approval before sensitive operations like refunds or account changes. Idempotency flags tell Rylvo whether the operation can be safely retried. The request payload includes a tool call ID, timestamp, and connector ID for traceability.

State Sync Connectors: Read and Write Workflow State

State sync connectors keep conversation state synchronized with your existing systems. Instead of requiring you to shuttle state in every request, Rylvo reads current state before the LLM turn and writes updates after the turn completes.

The read endpoint receives a request with the company ID, session ID, workflow ID, and requested fields. Your endpoint returns the current state. The write endpoint receives state updates that your system can persist. Field mapping translates Rylvo field names to your schema names. Merge strategy controls whether updates are patched or replaced.

This is ideal when you have an existing session store, customer database, or workflow state that lives in your infrastructure. The bot conversation stays in sync with your systems without manual data shuttling.

Event Connectors: Receive Real-Time Notifications

Event connectors deliver real-time notifications about workflow events to your systems. When something important happens, Rylvo fires a webhook to your endpoint so you can react immediately.

Available event types include: workflow decision completed, workflow decision failed, escalation triggered, workflow stage changed, tool execution completed, tool execution failed, state updated, verification failed, session started, and session closed.

Event connectors support both webhook and polling delivery modes. You can receive full payloads or summarized summaries. Batch delivery groups multiple events for efficiency, with configurable maximum batch size and delay. Every event payload includes an HMAC-SHA256 signature so you can verify it came from Rylvo.


Seven Authentication Methods for Every Security Requirement

Connectors support seven authentication types, covering every common security pattern from public endpoints to enterprise OAuth2 integrations.

None is for public endpoints that do not require authentication. API Key sends a header-based API key with every request. Bearer Token uses an Authorization Bearer header, ideal for OAuth2 tokens and JWTs. HMAC SHA256 signs every request with a shared secret, providing cryptographic verification that requests came from Rylvo. Basic Auth uses HTTP Basic authentication for legacy systems. OAuth2 Client Credentials automatically fetches and refreshes access tokens using the client credentials flow. Custom Header supports arbitrary header name and value pairs for non-standard authentication schemes.

For HMAC authentication, Rylvo signs every request body using SHA-256 and sends the signature in the X-Rylvo-Signature header. Your endpoint should verify this signature against your copy of the shared secret to ensure request authenticity.


The Architecture Flow: From User Message to System Action

When a user sends a message to a bot with connectors configured, the runtime follows a precise execution flow.

First, the bot context is loaded including configuration, prompts, guardrails, connectors, and MCP servers. If a state sync connector is configured, Rylvo calls the read endpoint to fetch current state before the LLM turn. This state is included in the system prompt.

Next, the LLM receives a system prompt that includes a Connector Awareness section. This section tells the LLM which connectors are available, what each one does, and when to use it. The LLM also receives tool schemas from tool connectors, making them available for function calling.

The LLM processes the user message and decides whether to call a tool. If it chooses a connector tool, Rylvo executes the call: first checking approval requirements if Mission Control is configured, then POSTing to the endpoint with arguments and authentication, handling retries if needed, receiving the response, and passing it back to the LLM.

After the LLM completes its response, if a state sync connector is configured, Rylvo writes any state updates to the write endpoint. Finally, if event connectors are configured for the events that occurred, Rylvo fires webhooks to notify your systems.

This flow ensures that every bot turn can read state, invoke tools, write state, and trigger events — all automatically and transparently.


Bot Integration: Scoped, Aware, and Automatic

Every connector can be scoped to specific bots, specific workflows, or the entire organization.

When a connector is linked to a bot, the Workspace Architect automatically patches the bot's prompts to include a Connector Awareness section. This section tells the LLM which connectors are available, what each connector does, and when to use it. The LLM does not need to be explicitly trained on your integrations — it learns about them from the prompt.

Bot scoping rules are simple: an empty botIds list makes the connector available to all bots in the organization, while specific botIds restrict it to those bots. Similarly, an empty workflowIds list makes it universal, while specific workflowIds restrict it to those workflows.

When connectors are created, activated, deactivated, or deleted, Rylvo automatically re-patches the affected bots' prompts. This ensures prompts always reflect the current connector state without manual intervention.


The Connectors Dashboard: Complete Integration Management

The Connectors dashboard at /dashboard/connectors provides a unified management interface for all your integrations.

Side Navigation

A collapsible side navigation organizes connectors into four sections: Overview (summary and stats), Tools (tool execution endpoints), State Sync (state synchronization connectors), and Events (event webhook connectors). Each section shows a count badge so you can see at a glance how many connectors exist in each category.

Overview Tab

The Overview tab provides a high-level view of your integration landscape. Six stat cards show: total connectors, tool connector count, state sync connector count, event connector count, total calls across all connectors, and error count. Below the stats, connectors are grouped by bot with summary cards showing each bot's connector count by type. Unassigned connectors that are not linked to any bot appear in their own section.

Connector Cards

Each connector appears as a card showing its type badge (Tool, State Sync, or Event), status badge (Active, Inactive, Error, or Pending), health dot, name, description, tool name or endpoint URL, total calls, average latency, error rate, and linked bot badges. Cards are color-coded by type: yellow for tools, blue for state sync, purple for events.

Filtering and Search

A comprehensive filter bar lets you filter by bot, connector type, and status. A search box searches across connector names, descriptions, and tool names. A refresh button reloads the latest data.

Create Connector Modal

The creation wizard guides you through selecting a connector type, configuring the endpoint, setting authentication, choosing linked bots, and defining type-specific settings like tool schemas or event types.

Connector Editor Panel

Clicking any connector opens an editor panel with tabs for configuration, health, metrics, and version history. Edit endpoints, authentication, retry settings, and linked bots. Test connectivity with a live ping. View call history, latency trends, and error rates. Roll back to prior versions if needed.


Health Monitoring and Reliability

Every connector includes built-in health monitoring to ensure your integrations stay reliable.

Health checks run at configurable intervals (default 5 minutes) by pinging a dedicated health endpoint or the main endpoint. Status is tracked as healthy, degraded, unhealthy, or unknown. After a configurable number of consecutive failures (default 5), the connector is automatically disabled to prevent cascading errors.

Metrics are collected for every call: total calls, successful calls, failed calls, average latency, P95 latency, P99 latency, and error rate percentage. These metrics feed into the dashboard cards and the Edge Case Engine for anomaly detection.

Retry logic is fully configurable: maximum retries (0 to 5), initial delay, exponential backoff multiplier, per-call timeout (up to 120 seconds), and specific HTTP status codes to retry on (429, 500, 502, 503, 504 by default).


Mission Control Integration: Approval Gates for Sensitive Tools

Tool connectors with requiresApproval set to true integrate with Rylvo Mission Control for human-in-the-loop approval. When the LLM decides to call an approved tool, the system creates an approval request in Firestore instead of executing immediately.

Operators see the pending approval in the Mission Control dashboard with the tool name, arguments, conversation context, and urgency level. They can approve or deny the request with an optional note. If approved, the tool executes and the result returns to the LLM. If denied, the bot receives a denial message and can explain to the user that the action could not be completed.

This ensures that sensitive operations like refunds, account closures, payment processing, or data deletion always have human oversight before execution.


Comparison: Connectors vs. Custom Integrations

CapabilityCustom IntegrationRylvo Connectors
Integration typesBuild one at a time3 types: Tool, State Sync, Event
AuthenticationCustom per system7 methods: None, API Key, Bearer, HMAC, Basic, OAuth2, Custom Header
Health monitoringManual or noneAutomated health checks with auto-disable
Retry logicCustom implementationConfigurable retries with exponential backoff
MetricsManual loggingBuilt-in: calls, latency, error rate
Version historyGit onlyFull version history with rollback
LLM awarenessManual prompt editingAutomatic Connector Awareness section patching
Approval gatesCustom buildMission Control integration for sensitive tools
Bot scopingHardcodedPer-bot, per-workflow, or org-wide
Event deliveryCustom webhooks10 event types with batching and HMAC signing
State syncCustom pollingRead/write endpoints with field mapping
TestingManual curlLive connectivity test from dashboard

Getting Started

Step 1: Open the Connectors Dashboard

Navigate to /dashboard/connectors. The Overview tab shows your current integration landscape.

Step 2: Create Your First Connector

Click New Connector. Select Tool as the connector type. Name it (e.g., "Create Support Ticket") and provide a description. Enter your endpoint URL and select the HTTP method. Choose an authentication method and provide credentials. Define the tool name, description, and input schema using JSON Schema. Link it to one or more bots.

Step 3: Test the Connection

After saving, click Test Connection. Rylvo pings your endpoint and reports success or failure with latency. If the test passes, the connector status changes to active.

Step 4: Verify Bot Awareness

Open your bot's chat page and ask a question that should trigger the tool. Check that the LLM knows about the connector and can invoke it. Review the chat trace to confirm the tool call executed.

Step 5: Monitor Health

Return to the Connectors dashboard and check the connector's health dot, call count, and latency metrics. If errors appear, review the recent events and adjust the endpoint or configuration.


FAQ

What is Rylvo Connectors? A webhook-based integration framework that connects AI bots to external systems via three connector types: Tool (execute actions), State Sync (read/write state), and Event (receive notifications).

What connector types are supported? Three: Tool Connectors for executing actions, State Sync Connectors for bidirectional data synchronization, and Event Connectors for real-time webhook notifications.

What authentication methods are available? Seven: None, API Key, Bearer Token, HMAC SHA256, Basic Auth, OAuth2 Client Credentials, and Custom Header.

How does the LLM know about my connectors? The Workspace Architect automatically patches bot prompts with a Connector Awareness section that describes available connectors, their purposes, and when to use them.

Can I scope connectors to specific bots? Yes. Connectors can be org-wide (all bots), bot-specific, or workflow-specific.

What happens when a connector fails? Rylvo retries failed requests with configurable exponential backoff. After a threshold of consecutive failures, the connector is automatically disabled.

How do approval gates work? Tool connectors marked as requiring approval create a Mission Control approval request before executing. Operators approve or deny, and the bot continues or receives a denial message.

What event types are supported? Ten: workflow decision completed/failed, escalation triggered, stage changed, tool execution completed/failed, state updated, verification failed, session started, and session closed.

Is there a Python SDK? Yes. The ConnectorSDK provides typed methods for creating, testing, and managing connectors programmatically.

How do state sync connectors work? Rylvo calls your read endpoint before the LLM turn to fetch current state, and calls your write endpoint after the turn to persist updates. Field mapping translates between Rylvo and your schema.


Ready to Connect Your Bots to the Real World?

Rylvo Connectors transforms AI bots from conversational assistants into active participants in your business processes. Tool connectors let bots create tickets, update records, and trigger workflows. State sync connectors keep conversation state aligned with your databases. Event connectors notify your systems when important things happen. Seven authentication methods cover every security requirement. Health monitoring and retry logic ensure reliability. Approval gates keep sensitive operations safe. And automatic prompt patching means the LLM always knows what it can do.

You do not need to build a custom integration layer. You do not need to manage authentication, retries, or health checks manually. You register an endpoint. Rylvo handles the rest.

Open Connectors and bridge your first external system today.

Register once. Call anywhere. Monitor everything.

R

Rylvo Team

Rylvo Team

More Articles