Calendly

Set up Calendly as an event-based data source.

Capture Calendly webhooks to get real-time data on every action your users take.

Add Calendly as a source

Follow the steps (see the screenshots below).

  1. Tap into a workspace in your Velvet dashboard
  2. Navigate to "Data sources"
  3. Tap "Add a data source"
  4. Name your source “Calendly”
  5. Copy the Calendly webhook link

Add a data source.

Name your data source.

Copy the webhook link.

Capture webhooks from Calendly

If you get stuck, read further docs from Calendly here.

  1. Use the Calendly API to generate a Personal Access Token (PAT) for authentication (if you do not already have one).
  2. Follow this link to create a PAT. Click “Get a token now”.
  1. Choose a name for this token and click “Create Token”.
  2. Copy token and store it securely as you will not be able to access it again.
  1. Pass your personal access token in the Authorization header of your requests.
  2. Make a call to the POST method via Postman or Insomnia. (Endpoint: https://api.calendly.com**/webhook_subscriptions)
  3. Populate the body:
{
  "url": "string<uri>",
  "events": [
    "string",
    "string"
  ],
  "organization": "string<uri>",
  "user": "string<uri>",
  "scope": "string",
}
  • url: Paste the webhook URL you copied earlier.
  • events: Specify the user events to subscribe to.
  • organization: The unique reference to the organization that the webhook will be tied to.
  • user: The unique reference to the user that the webhook will be tied to.
  • scope: Indicates if the webhook subscription scope will be "organization" or "user”.

Great job, you’ve connected Calendly as a data source. From this point on, we’ll create a queue of every event you’re sending from Calendly and collect them in your Velvet workspace.