Skip to content
This repository has been archived by the owner on Sep 4, 2023. It is now read-only.

PostHog/calendly-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PostHog Plugin: Calendly

Warning This plugin has been deprecated, and we currently have no plans to bring it back. One option is to use Calendly's webhook system.

Category: Data in

Enrich Calendly events which have calendly_event_url and calendly_invitee_url properties set with additional information from those URLs. Set the Calendly API key and the event name to watch for enrichment.

This app assumes that you're using react-calendly to send capture events into PostHog after an event has been scheduled in Calendly.

Installation

  1. Access PostHog's Apps page from the sidebar.
  2. To perform installation either:
  3. go to the Repository tab, find this plugin, and Install it,
  4. or go to the Advanced tab and Fetch and install the following URL in the Install from GitHub, GitLab or npm section:
    https://github.com/posthog/calendly-app.
  5. Configure the plugin by entering your Calendly API key and the name of the event to enrich.

Capture example using react-calendly

const calendlyEventScheduled = (e: EventScheduledEvent) => {
        const { event, payload = null } = e.data
        posthog?.capture(event, {
            calendly_event_uri: payload?.event.uri,
            calendly_invitee_uri: payload?.invitee.uri,
        })
    }

Properties set by the app

If available in the event and invitee URLs, the following properties will be set:

  • From calendly_event_url:
    • calendly_event_name - the name of the event
    • calendly_event_start - the scheduled start time of the event
    • calendly_event_end - the scheduled end time of the event
    • calendly_owner - the email address of the event owner
  • From calendly_invitee_url:
    • distinct_id - the email address of the person who booked the event
    • email - the email address of the person who booked the event
    • Any questions as properties and answers as values from the questions_and_answers invitee record

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published