sand-intercom

Intercom.io support

Usage no npm install needed!

<script type="module">
  import sandIntercom from 'https://cdn.skypack.dev/sand-intercom';
</script>

README

sand-intercom

An intercom sand grain. This module is a wrapper for intercom.io.

Installation

npm install sand-intercom

Usage

Add intercom to your sand config

const sand = require('sand');
const intercom = require('intercom');

new sand()
    .use(intercom)
    .start();

A list of configuration values can be found below

Configuration Options

Options are passed directly to the underlying intercom.io module.

See intercom.io docs for available options.

Functions

sand-intercom exposes an instance of the intercom.io module for interacting with the intercom.io API.

let users = yield sand.intercom.intercom.getUsers();

See intercom.io docs for available functions.