Integrations
AB-Labz supports integration with messengers for automatic experiment digest delivery.
Supported Messengers
- Slack — via Incoming Webhooks
- Telegram — via Bot API
- Pachca — via Webhooks
How It Works
1. Create Connection
In the Messengers section, create a connection:
- Select messenger type
- Provide a name (for easy identification)
- Add Webhook URL
- Test the connection
Getting Webhook URL
- Slack: Settings & administration → Manage apps → Incoming Webhooks
- Telegram: Create a bot via @BotFather and get Bot Token
- Pachca: Settings → Integrations → Create webhook
2. Configure Digest Template
Create a delivery template:
General Settings:
- Template name
- Connection selection
Schedule:
- Frequency: daily or weekly
- Day of week (for weekly)
- Send time
- Timezone
Digest Sections:
Each section can include:
- Title
- Hypothesis filtering conditions (status, period)
- Display format (short, with links, with dates)
- Records limit
Filtering Examples
Section "Active Tests This Week":
- Status: active
- Period: this_week
- Format: with dates
- Limit: 10
Section "Completed Tests":
- Status: done, archived
- Period: last_week
- Format: with links3. Filters and Conditions
Filter Fields:
status— hypothesis status (active, planned, done, archived, backlog)start_date— start dateend_date— end date
Operators:
equals/not_equals— exact matchin— included in list of valuesin_period— falls within periodnot_in_period— doesn't fall within periodoverlaps_period— overlaps with period
Periods:
last_week— last week (Monday-Sunday)this_week— current weeknext_week— next week
Logical Operators:
Conditions can be combined:
- AND — all conditions must be met
- OR — at least one condition must be met
Two-level logic is supported: condition groups with their own operators + operator between groups.
4. Automatic Delivery
The system checks templates every minute and sends digest if:
- Template is active
- Day of week matches (for weekly)
- Current time matches (accounting for timezone)
5. Preview and Testing
Before activation:
- Preview — see how the message will look
- Test send — send a test message to messenger
Message Format
Digest is formatted as text message:
**Active Tests**
1. New CTA Button (15.02 → 28.02)
2. Cart Redesign (16.02 → 01.03)
**Completed Tests**
1. Price Experiment — https://app.ab-labz.com/hypotheses/123
2. Registration Form Test — https://app.ab-labz.com/hypotheses/124You can also add custom text before or after sections.
Security
Webhook URLs contain access tokens — don't share them with third parties.
