Divvent

Connect other services

Take card payments with Stripe, post to Slack, put bookings in a Google calendar or send texts through Twilio, and see exactly what your application sends to each.

Your application can talk to services you already use: take a card payment with Stripe, post a message in a Slack channel, put a booking in a Google calendar, or send a text through Twilio. Each of these is called an integration. You connect it with your own account at that service, and your application shows you exactly what it sends there.

How an integration gets into your application

An integration is part of your application, so you get one by asking for it on Changes, in your own words. For example:

The change Divvent proposes always says what data leaves your application and where it goes, even when the answer is "none". Because an integration sends your data somewhere new, our team checks that change as well as you. See Ask for a change and Read a change and approve it.

Once the change is approved, the integration appears on the Integrations tab under Settings, ready to connect. If your application has none yet, the tab says so: "This application talks to nothing outside itself."

What the Integrations tab shows

Each integration has a card. It gives:

A key box shows connected or not connected, and who set it and when. It never shows the key itself. Nobody can read a key back once it is saved, including you.

Connect a service

Only an owner of your Divvent account can connect or disconnect an integration. Anyone else who can open the application can see the tab, and is told that only an owner can connect one. Because a key can take payments or send messages, you are asked to have signed in within the last five minutes; if not, you are asked to sign in again with your passkey or authenticator app first.

There are two ways to connect, depending on the service.

Paste a key

  1. Copy the key from your account at the service.
  2. Paste it into the box on the card and press Connect.
  3. Release your application. The card says "It reaches the application at the next release" until you do.

To change a key, paste the new one in the same box and press Replace. The old one stops being used at the next release. You can't remove a pasted key without putting a new one in its place yet.

Sign in to the service

For Google, and other services that work this way:

  1. Paste the client ID and client secret from the service into their boxes, and release your application.
  2. Press Sign in to Google to connect (the button names the service).
  3. A link appears: "Your link is ready. It works once, for two minutes." Press Continue to Google.
  4. The service shows you what your application is asking to do. Agree, and you are brought back to the Integrations tab.

What the service gives your application is kept by your application, never by Divvent. To stop it, press Disconnect. Your application forgets what the service gave it and, where the service allows, asks it to cancel the access too.

The services you can connect

ServiceWhat it is forHow you connect it
StripeCard payments: a Stripe payment page for a quote, order or booking, a regular subscription, and refunds. Stripe tells your application when a payment succeeds, fails or is refunded.Paste your Stripe secret key. If your application listens for Stripe's messages, also paste the webhook signing secret and point Stripe at the address the card shows.
EmailEmails your application sends, such as a confirmation or a receipt.Nothing to connect. Divvent looks after sending. Mail can come from your own domain: see Use your own domain.
SlackA message posted in one Slack channel.Paste the channel's incoming webhook address from Slack.
GoogleBookings put in a Google calendar and moved or cancelled with them; busy times in a calendar kept out of the free slots you offer; rows added to a Google Sheet. Filing issued documents in Google Drive is built too, but waits on documents, which you can't add yet: see Documents and signatures.Make a sign-in client in Google Cloud, paste its client ID and secret, release, then sign in to Google.
TwilioText messages from your own number, and delivery reports back from Twilio.Paste your Twilio Account SID and Auth Token, and point your number's incoming messages at the address the card shows.
Single sign-onYour staff signing in with their Microsoft or Google work account.Paste the client ID and secret from your work account provider. See Your users' sign-in.

Money taken through Stripe goes straight to your Stripe account, and Twilio bills your Twilio account directly. Divvent does not charge you for either. For services not in this table, see Other services, for advanced use.

Google, in more detail

Google asks for only what your integration needs: its calendar events, its free and busy times (never what the busy time is), spreadsheets, or only the files your application creates in Drive, never the rest of it. The card lists the steps in Google Cloud and the exact redirect address to register there. A few things are always true:

Sending email as you from Gmail is not offered.

Twilio, in more detail

You need a Twilio account with a payment method, and a number to send from bought or verified in Twilio. On the card you are asked to set your number's "A message comes in" address in Twilio to the address shown, so that a customer's STOP reaches your application.

Twilio can also send template messages you have had approved on its chat-app channels; ask for it on Changes.

Things to know