Skip to content

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:

  1. Select messenger type
  2. Provide a name (for easy identification)
  3. Add Webhook URL
  4. 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 links

3. Filters and Conditions

Filter Fields:

  • status — hypothesis status (active, planned, done, archived, backlog)
  • start_date — start date
  • end_date — end date

Operators:

  • equals / not_equals — exact match
  • in — included in list of values
  • in_period — falls within period
  • not_in_period — doesn't fall within period
  • overlaps_period — overlaps with period

Periods:

  • last_week — last week (Monday-Sunday)
  • this_week — current week
  • next_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/124

You can also add custom text before or after sections.

Security

Webhook URLs contain access tokens — don't share them with third parties.

AB-Labz - Product Experiments Laboratory