1a79e0624c
* Init dev * UI changes for recurring event + prisma * Revisiting schema + changes WIP * UI done, BE WIP * Feature completion * Unused query param removed * Invalid comment removed * Removed unused translation * Update apps/web/public/static/locales/en/common.json Thanks! Co-authored-by: Peer Richelsen <peeroke@gmail.com> * Success page changes * More progress * Email text tweaks + test + seed * Tweaking emails + Cal Apps support WIP * No app integration for now Final email and pages tweaks to avoid recurring info showed * Missing comment for clarity * Yet again, comment * Last minute fix * Missing tooltip for upcoming bookings * Fixing seed * Fixing import * Increasing timeout for e2e * Fixing any * Apply suggestions from code review Co-authored-by: Omar López <zomars@me.com> * Update apps/web/pages/d/[link]/book.tsx Co-authored-by: Omar López <zomars@me.com> * Code improvements * More code improvements * Reverting back number input arrows * Update BookingPage.tsx * Update BookingPage.tsx * Adds fallback for sendOrganizerPaymentRefundFailedEmail * Type overkill * Type fixes * Type fixes * Nitpicks * Update success.tsx * Update success.tsx * Update success.tsx * Fixing types Co-authored-by: Peer Richelsen <peeroke@gmail.com> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> Co-authored-by: Omar López <zomars@me.com> |
||
---|---|---|
.. | ||
api | ||
components | ||
static | ||
README.md | ||
README.mdx | ||
_metadata.ts | ||
index.ts | ||
package.json |
README.md
Setting up Zapier Integration
If you run it on localhost, check out the additional information below.
- Create Zapier Account
- If not redirected to developer account, go to: Zapier Developer Account
- Click Start a Zapier Integration
- Create Integration
- Name: Cal.com
- Description: Cal.com is a scheduling infrastructure for absolutely everyone.
- Intended Audience: Private
- Role: choose whatever is appropriate
- Category: Calendar
Authentication
- Go to Authentication, choose Api key and click save
- Click Add Fields
- Key: apiKey
- Check the box ‘is this field required?’
- Configure a Test
- Test: GET
<baseUrl>
/api/integrations/zapier/listBookings - URL Params
- apiKey: {{bundle.authData.apiKey}}
- Test: GET
- Test your authentication —> First you have to install Zapier in the Cal.com App Store and generate an API key, use this API key to test your authentication (only zapier Api key works)
Triggers
Booking created, Booking rescheduled, Booking cancelled
Booking created
- Settings
- Key: booking_created
- Name: Booking created
- Noun: Booking
- Description: Triggers when a new booking is created
- API Configuration (apiKey is set automatically, leave it like it is):
- Trigger Type: REST Hook
- Subscribe: POST
<baseUrl>
/api/integrations/zapier/addSubscription- Request Body
- subscriberUrl: {{bundle.targetUrl}}
- triggerEvent: BOOKING_CREATED
- Request Body
- Unsubscribe: DELETE
<baseUrl>
/api/integrations/zapier/deleteSubscription- URL Params (in addition to apiKey)
- id: {{bundle.subscribeData.id}}
- URL Params (in addition to apiKey)
- PerformList: GET
<baseUrl>
/api/integrations/zapier/listBookings
- Test your API request
Create the other two triggers (booking rescheduled, booking cancelled) exactly like this one, just use the appropriate naming (e.g. booking_rescheduled instead of booking_created)
Testing integration
Use the sharing link under Manage → Sharing to create your first Cal.com trigger in Zapier
Localhost
Localhost urls can not be used as the base URL for api endpoints
Possible solution: using https://ngrok.com/
- Create Account
- Download gnork and start a tunnel to your running localhost
- Use forwarding url as your baseUrl for the URL endpoints