What are Integrations?
Integrations connect LexQ to your external services. When a rule’s action fires, LexQ can call your coupon system, point platform, notification service, or any webhook endpoint. Integrations are configured once and then referenced in rule actions by their ID.Integration Types
| Type | Description | Use Case |
|---|---|---|
WEBHOOK | Call any HTTP endpoint | Order processing, custom logic |
COUPON | Issue coupons via external service | Welcome coupons, seasonal promotions |
POINT | Award or deduct points | Loyalty programs, cashback |
NOTIFICATION | Send SMS, email, or push | Order confirmations, alerts |
CRM | Sync user data or tags | Customer segmentation |
MESSENGER | Send messages via chat platforms | Customer support automation |
Creating an Integration
Console
Navigate to Management → Integrations → Create Integration, select the type, and fill in the configuration.CLI
Check Required Configuration
Each type requires different configuration fields. Check what’s needed:Using Integrations in Rules
Reference an integration by its ID in rule action parameters:payloadTemplate field is optional. When omitted, all facts are sent as the request body. When provided, only the template structure is sent with {{variables}} replaced by actual values. See Policy Rules — WEBHOOK for the full variable reference.
Managing Integrations
Failure Handling
When an integration call fails during execution (network timeout, 5xx response, etc.), the failure is recorded in the Failure Log. You can retry, skip, or resolve failures:During batch simulations, integration calls are always mocked. In dry runs, mocking is controlled by the Mock External Calls toggle in the Console (API parameter:
mockExternalCalls, default: true). When set to false, the engine attempts real calls — if they fail, entries are written to the Failure Log.Next Steps
Policy Rules
Learn how to use integrations in rule actions.
Troubleshooting
Common integration issues and solutions.

