Connectors | Meta Business Agents: Integrations with External Systems

Connectors: Integrations with External Systems

Connectors: Integrations with External Systems

Connect Your Agent to APIs and Real-Time Data

What Are Connectors?

Connectors allow your agent to call external APIs to access real-time data from your systems:

  • CRM (Salesforce, Zoho CRM, HubSpot)
  • Calendars (Outlook, Calendly)
  • Inventory (Shopify, WooCommerce)
  • Billing (SAP, NetSuite, Odoo)
  • Support (Freshdesk, Jira)
  • Custom databases

Result: The agent responds with up-to-date information from your real systems.

Example Without Connector

Customer: "What's the status of my order #12345?"
Agent: "I'll check your order. Orders take 3-5 days."

Example WITH Connector

Customer: "What's the status of my order #12345?"
[Agent calls your inventory API]
Agent: "Your order #12345 shipped today from the warehouse.
It will arrive tomorrow between 2-5 PM. Tracking: TR123456789"

Connector Structure

Every Connector needs 5 parts:

1. Name

The connector name. The same rule applies to the name of each tool:

  • Only letters, numbers and underscores (_)
  • Uppercase letters are accepted and saved exactly as you enter them
  • Numbers are allowed in any position, including at the beginning (e.g. 2nd_store)
  • Underscores are only allowed between letters or numbers: the name cannot start or end with one, and two in a row (__) are not allowed
  • No spaces, hyphens, periods, slashes or accented letters
  • Maximum 120 characters
Valid:   WooCommerce_Old_Scull, crm_post, get_order_status, GetOrderStatus
Invalid: WooCommerce Old Scull, crm-post
⚠️ Different from Skills and Rich messages: Skill and rich message names use lowercase letters and hyphens (promote-premium-plan, website-link). Connector and tool names use underscores (get_order_status). The formats are incompatible, so a name copied from one section to another will be rejected.

2. Base URL

Your API domain:

https://api.yourcompany.com

3. Authentication

How your API validates requests:

Option 1: API Key

Header: Authorization: Bearer sk_live_abc123def456

Option 2: OAuth 2.0 client credentials

Uses client credentials issued by your API.
There is no end-user login: the customer does not
authorise the connection.

4. Tools (Endpoints)

The actions the agent can perform:

GET /orders/{order_id}  → Get order status
GET /customers/{email} → Get customer data
POST /tickets → Create support ticket
GET /inventory → Check stock

5. Parameters

The data the agent sends to each endpoint:

GET /orders/{order_id}
Parameters:
- order_id (required) → Order ID
- format (optional) → json/xml

Use Cases by Industry

E-commerce

Connector: Inventory + Orders

Endpoints:

  • GET /products/{sku} → Available stock
  • GET /orders/{order_id} → Shipping status
  • GET /tracking/{order_id} → Tracking number
  • POST /returns → Create return

Benefit: Customer gets real answer in 2 seconds with no intermediaries.

SaaS

Connector: CRM + Account Data

Endpoints:

  • GET /accounts/{email} → Account info
  • GET /subscriptions/{account_id} → Current plan
  • GET /usage/{account_id} → Monthly usage
  • POST /support-tickets → Create ticket

Benefit: Tech support without manual access to systems.

Services

Connector: Calendar + CRM

Endpoints:

  • GET /availability → Available times
  • POST /bookings → Create appointment
  • GET /clients/{phone} → Client history
  • PUT /clients/{client_id} → Update info

Benefit: Agent schedules appointments without human intervention.

How to Create a Connector

Step 1: Go to Advanced › Connectors

In WOZTELL:

Channels
→ Your channel
→ Meta AI Agent
→ Scroll down
→ "Advanced"
→ "Connectors"
Note: If you don't see "Connectors", it may be disabled. Contact support@woztell.com.

Step 2: Click "Add Connector"

Step 3: Enter the Name

WooCommerce_Old_Scull

Use only letters, numbers and underscores. No spaces, hyphens, periods, slashes or accented letters. The name cannot start or end with an underscore, and two underscores in a row (__) are not allowed. Maximum 120 characters. See Connector Structure › 1. Name for the full rule.

Step 4: Enter Base URL

https://api.yourcompany.com

Step 5: Choose Authentication Method

API Key (Recommended for simple APIs)

Type: API Key
Location: Header (Bearer)
Key: sk_live_abc123def456
Note: When you reopen the connector, the key field appears empty. The key has not been lost; it is simply not displayed again (for security, keys are write-only). The Header and Prefix are kept. To change the key, enter the full key again.

OAuth 2.0 client credentials

Requires client credentials already issued by your API
Meta executes the calls to your API

Step 6: Add Tools (Endpoints)

Click "Add Tool" for each endpoint the agent can use. The tool name follows the same rule as the connector name: only letters, numbers and underscores.

Example:

Tool 1: get_order_status
Method: GET
Path: /orders/{order_id}
Parameters:
- order_id (string, required)

Tool 2: get_product_stock
Method: GET
Path: /products/{sku}/stock
Parameters:
- sku (string, required)

Step 7: Test

Each tool has a Run action in the connector list. Click it to execute the call:

GET /orders/123
Response: {
"order_id": "123",
"status": "shipped",
"tracking": "TR123456789"
}

Step 8: Save

The Connector appears in the list. Now Skills can use it.

Using a Connector in a Skill

Once the Connector is configured, Skills can access it:

Example: Skill "check-order-status"

Name: "check-order-status"

When to use it:
"When customer asks about their order status or tracking"

What the agent should do:
"1. Ask for the order ID if not provided
2. Call the Connector: GET /orders/{order_id}
3. Respond with status and tracking number
4. If shipped, mention estimated delivery date"

Meta Business Agent automatically:

  1. Extracts the order ID from the conversation
  2. Calls the Connector
  3. Receives the response in JSON
  4. Integrates the data into the agent's response

HTTP Methods

Method What It Does Example
GET Read data GET /orders/123 → get status
POST Create new data POST /tickets → create ticket
PUT Update existing data PUT /customers/123 → update profile
DELETE Delete data DELETE /bookings/456 → cancel appointment

Real-World Examples

Shopify (E-commerce)

API Base:

https://your-store.myshopify.com/admin/api/2023-04

Authentication:

API Key in header:
X-Shopify-Access-Token: your_access_token

Tools:

1. GET /products/{id}.json
→ Get product details

2. GET /orders/{id}.json
→ Get order status

3. POST /fulfillments/{order_id}.json
→ Update shipping status

Important Limitations

⚠️ Rate Limits

Your API may have limits (e.g., 100 calls/minute). Monitor:

  • How many calls the agent makes
  • If you hit rate limits
  • Implement queue if necessary

⚠️ Latency

API calls take time. If your API takes >5 seconds:

  • Customer sees delay in response
  • Poor experience
  • Solution: Optimize your API or cache data

⚠️ Security

Never share credentials in chat or documents:

  • Don't expose secrets in public Skills
  • Use environment variables

⚠️ Sensitive Data

The agent might expose data that shouldn't be public:

Bad: "Your balance is $5,000 and your SSN is 123-45-6789"
Good: "Your balance is $5,000. Need changes? Contact support?"

Troubleshooting

Problem Cause Solution
"Connector doesn't respond" Your API is down Verify your server is online
"Error 401 Unauthorized" API Key / Auth incorrect Verify credentials in WOZTELL
"Timeout (>5 seconds)" Your API is slow Optimize queries or use cache
"Response malformed" API returns wrong format Verify it returns valid JSON
"The request is not valid for this connector" (error 333) The connector name contains spaces, hyphens or other unsupported characters Rename it using only letters, numbers and underscores

Getting Started

Do you have an API ready?

  1. Make sure it's HTTPS (not HTTP)
  2. Document the available endpoints
  3. Get authentication credentials
  4. Contact support@woztell.com to set it up

Don't have an API?

  1. Use platforms like Make or Zapier
  2. Create webhooks that Connectors can call
  3. Build a simple API (Python Flask, Node Express)

Need Help?

  • Configure Connector: support@woztell.com
  • Custom API: WOZTELL development team
  • Integration with existing system: We evaluate feasibility

Connectors Guide: Meta Business Agent in WOZTELL v1.0

Reading time: 20 min