Files
cal.diy/packages/app-store/zapier
4a6d608b19 refactor: simplify link-as-an-app template and migrate 24 existing apps (#27215)
* refactor: simplify link-as-an-app template to config.json only

- Remove api/, components/, index.ts, package.json from link-as-an-app template
- Add externalLink field to AppMetaSchema for external URL configuration
- Update API handler to dynamically create handlers for external link apps
- External link apps no longer create credentials (just redirect to URL)
- Update CLI to handle externalLinkUrl field for link-as-an-app template
- CLI now skips package.json update for apps without package.json

Co-Authored-By: [email protected] <[email protected]>

* fix: simplify external link handler to bypass credential creation

External link apps now directly return the redirect URL without going
through the AppDeclarativeHandler type, avoiding type conflicts with
the createCredential return type requirement.

Co-Authored-By: [email protected] <[email protected]>

* refactor: migrate 24 external link apps to simplified structure

Migrated the following apps to use config.json with externalLink field
instead of api/add.ts handlers:

- amie, autocheckin, baa-for-hipaa, bolna, chatbase, clic, cron, deel
- elevenlabs, fonio-ai, framer, granola, greetmate-ai, lindy, millis-ai
- monobot, n8n, pipedream, raycast, retell-ai, synthflow, telli, vimcal
- wordpress

Each app now only contains: config.json, DESCRIPTION.md, static/
Removed: api/, components/, index.ts, package.json

Co-Authored-By: [email protected] <[email protected]>

* nit

* Fix merge conflict issue

* refactor: generate REDIRECT_APPS dynamically during app-store build

- Add logic to build.ts to detect apps with externalLink field
- Generate redirect-apps.generated.ts with list of redirect app slugs
- Update redirectApps.ts to import from generated file
- Revert [...]args].ts to original state (Flow 1 is preferred)

Co-Authored-By: [email protected] <[email protected]>

* fix: cast REDIRECT_APPS to readonly string[] for includes check

Co-Authored-By: [email protected] <[email protected]>

* Fix error with React

* Take exteral link URL as input

* deleted bun.lockb

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Hariom Balhara <[email protected]>
2026-02-06 12:28:11 +00:00
..
2022-12-07 14:47:02 -07:00

Zapier Integration – Developer Guide

Note: This is a redirect app. End users should connect Cal.com to Zapier directly via the Zapier Integrations page: https://zapier.com/apps/calcom/integrations

The Zapier app in Cal.com now functions as a redirect app that takes users directly to Zapier's integration page. No local setup or OAuth configuration is required.

How It Works

  1. User clicks "Visit" → Opens Zapier integrations page
  2. User sets up automation → Directly on Zapier's platform
  3. No Cal.com credentials needed → Users authenticate directly with Zapier

For Developers

This app uses the link-as-an-app template and requires no additional configuration beyond the redirect URL.

Legacy API Endpoints

The following API endpoints are maintained for backward compatibility with existing Zapier integrations:

  • GET /api/integrations/zapier/listBookings - List user bookings
  • GET /api/integrations/zapier/listOOOEntries - List out-of-office entries
  • POST /api/integrations/zapier/addSubscription - Subscribe to webhooks
  • DELETE /api/integrations/zapier/deleteSubscription - Unsubscribe from webhooks
  • GET /api/integrations/zapier/me - Get user/team information

Note: These endpoints support both API key and OAuth authentication for existing integrations. The endpoints are dynamically routed through /api/integrations/[...args].ts.