Slack

Send in-app subscription events to Slack

👍

The Slack integration is available on the Starter plan.

RevenueCat can send you Slack message to a channel any time an event happens in your app. This lets you keep a close pulse on your app and celebrate those money making moments!

With our Slack integration, you can:

  • Receive feedback or reviews from customers real-time, posted to a dedicated channel in your slack workspace.

Configure Slack Workspace

Before RevenueCat can post to your Slack channel, you need to authorize a webhook to post to your workspace. Slack has a more detailed article on their website explaining how to set this up if you have trouble.

1. Create a Slack app

1164
  • Click Create App

2. Enable Incoming Webhooks from the settings page

1370
  • Select Incoming Webhooks under Add features and functionality
1488
  • Enable the Incoming Webhooks toggle
  • After the settings page refreshes, click Add New Webhook to Workspace

3. Pick a channel that the app will post to, then click Authorize

992

Configure RevenueCat Integration

Once you've set up a webhook in your Slack workspace. Enter the details into the Slack Integration section of your dashboard.

954

👍

You're all set! RevenueCat will start sending events into Slack!

1130

Sample Events

Below are sample JSONs that are delivered to Slack for each event type.

{
    "product_identifier": "monthly_1",
    "app_id": "12345678-1234-1234-1234-123456789012",
    "payload": {
        "channel": "purchases",
        "username": "RevenueCat",
        "icon_url": "https://app.revenuecat.com/favicon-96x96.png",
        "attachments": [
            {
                "fallback": "Customer 12345 just started a subscription of monthly_1",
                "color": "#30B296",
                "fields": [
                    {
                        "value": ":smiley_cat: Customer <https://app.revenuecat.com/activity/123abcd45/12345|12345> just started a subscription."
                    },
                    {
                        "title": "Product",
                        "value": "monthly_1",
                        "short": false
                    },
                    {
                        "title": "Revenue",
                        "value": "$5.99",
                        "short": false
                    }
                ],
                "ts": 1588335655
            }
        ]
    }
}
{
    "product_identifier": "monthly_3d_trial",
    "app_id": "12345678-1234-1234-1234-123456789012",
    "payload": {
        "channel": "purchases",
        "username": "RevenueCat",
        "icon_url": "https://app.revenuecat.com/favicon-96x96.png",
        "attachments": [
            {
                "fallback": "Customer 12345 just started a free trial of monthly_3d_trial",
                "color": "#30B296",
                "fields": [
                    {
                        "value": ":smiley_cat: Customer <https://app.revenuecat.com/activity/123abcd45/12345|12345> just started a free trial."
                    },
                    {
                        "title": "Product",
                        "value": "monthly_3d_trial",
                        "short": false
                    }
                ],
                "ts": 1553805130
            }
        ]
    }
}
{
    "product_identifier": "monthly_1",
    "app_id": "12345678-1234-1234-1234-123456789012",
    "payload": {
        "channel": "purchases",
        "username": "RevenueCat",
        "icon_url": "https://app.revenuecat.com/favicon-96x96.png",
        "attachments": [
            {
                "fallback": "Customer 12345 just converted from a free trial of monthly_1",
                "color": "#30B296",
                "fields": [
                    {
                        "value": ":smiley_cat: Customer <https://app.revenuecat.com/activity/123abcd45/12345|12345> just converted from a free trial."
                    },
                    {
                        "title": "Product",
                        "value": "monthly_1",
                        "short": false
                    },
                    {
                        "title": "Revenue",
                        "value": "$5.99",
                        "short": false
                    }
                ],
                "ts": 1554466423
            }
        ]
    }
}
{
    "product_identifier": "monthly_3d_trial",
    "app_id": "12345678-1234-1234-1234-123456789012",
    "payload": {
        "channel": "purchases",
        "username": "RevenueCat",
        "icon_url": "https://app.revenuecat.com/favicon-96x96.png",
        "attachments": [
            {
                "fallback": "Customer 12345 just cancelled their free trial of monthly_3d_trial",
                "color": "#F2545B",
                "fields": [
                    {
                        "value": ":pouting_cat: Customer <https://app.revenuecat.com/activity/123abcd45/12345|12345> just cancelled their free trial."
                    },
                    {
                        "title": "Product",
                        "value": "monthly_3d_trial",
                        "short": false
                    }
                ],
                "ts": 1554502133
            }
        ]
    }
}
{
    "product_identifier": "monthly_1",
    "app_id": "12345678-1234-1234-1234-123456789012",
    "payload": {
        "channel": "purchases",
        "username": "RevenueCat",
        "icon_url": "https://app.revenuecat.com/favicon-96x96.png",
        "attachments": [
            {
                "fallback": "Customer 12345 just renewed their subscription of monthly_1",
                "color": "#30B296",
                "fields": [
                    {
                        "value": ":smiley_cat: Customer <https://app.revenuecat.com/activity/123abcd45/12345|12345> just renewed their subscription."
                    },
                    {
                        "title": "Product",
                        "value": "monthly_1",
                        "short": false
                    },
                    {
                        "title": "Revenue",
                        "value": "$5.99",
                        "short": false
                    }
                ],
                "ts": 1554091875
            }
        ]
    }
}
{
    "product_identifier": "annual",
    "app_id": "12345678-1234-1234-1234-123456789012",
    "payload": {
        "channel": "purchases",
        "username": "RevenueCat",
        "icon_url": "https://app.revenuecat.com/favicon-96x96.png",
        "attachments": [
            {
                "fallback": "Customer 12345 just cancelled their subscription of annual",
                "color": "#F2545B",
                "fields": [
                    {
                        "value": ":crying_cat_face: Customer <https://app.revenuecat.com/activity/123abcd45/12345|12345> just cancelled their subscription."
                    },
                    {
                        "title": "Product",
                        "value": "annual",
                        "short": false
                    }
                ],
                "ts": 1553810169
            }
        ]
    }
}
{
    "product_identifier": "500_coins",
    "app_id": "12345678-1234-1234-1234-123456789012",
    "payload": {
        "channel": "purchases",
        "username": "RevenueCat",
        "icon_url": "https://app.revenuecat.com/favicon-96x96.png",
        "attachments": [
            {
                "fallback": "Customer 12345 just purchased 500_coins",
                "color": "#30B296",
                "fields": [
                    {
                        "value": ":smiley_cat: Customer <https://app.revenuecat.com/activity/123abcd45/12345|12345> just made a purchase."
                    },
                    {
                        "title": "Product",
                        "value": "500_coins",
                        "short": false
                    },
                    {
                        "title": "Revenue",
                        "value": "$4.99",
                        "short": false
                    }
                ],
                "ts": 1590390293
            }
        ]
    }
}
{
    "product_identifier": "annual_trial",
    "app_id": "12345678-1234-1234-1234-123456789012",
    "payload": {
        "channel": "purchases",
        "username": "RevenueCat",
        "icon_url": "https://app.revenuecat.com/favicon-96x96.png",
        "attachments": [
            {
                "fallback": "Customer 12345 got a billing issue on annual_trial",
                "color": "#F2545B",
                "fields": [
                    {
                        "value": ":scream_cat: Customer <https://app.revenuecat.com/activity/123abcd45/12345|12345> got a billing issue."
                    },
                    {
                        "title": "Product",
                        "value": "annual_trial",
                        "short": false
                    }
                ],
                "ts": 1663976618
            }
        ]
    }
}
{
    "product_identifier": "annual",
    "app_id": "12345678-1234-1234-1234-123456789012",
    "payload": {
        "channel": "purchases",
        "username": "RevenueCat",
        "icon_url": "https://app.revenuecat.com/favicon-96x96.png",
        "attachments": [
            {
                "fallback": "Customer 12345 got a product change from annual to monthly",
                "color": "#30B296",
                "fields": [
                    {
                        "value": ":smiley_cat: Customer <https://app.revenuecat.com/activity/123abcd45/12345|12345> just changed the product of their subscription."
                    },
                    {
                        "title": "Product",
                        "value": "monthly",
                        "short": false
                    }
                ],
                "ts": 1663976617
            }
        ]
    }
}