cal/packages/app-store/make
aar2dee2 b27f01449a
feat: make.com/integromat app (#8897)
* start make app integration

* setup integration

* add relevant env vars

* update app metadata

* import setup route in app setups

* fix typo

* add app store imports

* fix module import error

* update make readme

* move scheduler to app-store utils

* move add subscription to node scheduler

* move delete subscription to scheduler

* subscribe unsubscribe in zapier using common nodeScheduler

* fix lint errors

* revert settings.json

* update icon

* add app screenshots

* fix app description

* fix type errors

* update app code

* Delete .gitkeep

* delete unused template files

* get app invite link from env vars

* chore: handle error, cleanup readme, address review comments

* fix: update link in readme

* revert yarn.lock

* fix type errors

* Update packages/prisma/seed-app-store.ts

* Update .env.appStore.example

* Update .env.appStore.example

* update app readme

* fix param name in deleteSubcription

* fix listBookings handler

* Update turbo.json

* use default installation handler to install app

* use logger for console logs

* Fix inviteLink reading

* fix app setup handler

* Fix type issue

* always show app invite link

* fix type error

* add make invite link

---------

Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com>
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
Co-authored-by: CarinaWolli <wollencarina@gmail.com>
2023-09-04 14:52:34 +00:00
..
api feat: make.com/integromat app (#8897) 2023-09-04 14:52:34 +00:00
pages/setup feat: make.com/integromat app (#8897) 2023-09-04 14:52:34 +00:00
static feat: make.com/integromat app (#8897) 2023-09-04 14:52:34 +00:00
config.json feat: make.com/integromat app (#8897) 2023-09-04 14:52:34 +00:00
DESCRIPTION.md feat: make.com/integromat app (#8897) 2023-09-04 14:52:34 +00:00
index.ts feat: make.com/integromat app (#8897) 2023-09-04 14:52:34 +00:00
package.json feat: make.com/integromat app (#8897) 2023-09-04 14:52:34 +00:00
README.md feat: make.com/integromat app (#8897) 2023-09-04 14:52:34 +00:00
zod.ts feat: make.com/integromat app (#8897) 2023-09-04 14:52:34 +00:00

Setting up Make Integration

  1. Install the app from the Cal app store and generate an API key. Copy the API key.
  2. Go to /admin/apps/automation in Cal and set the invite_link for Make to https://www.make.com/en/hq/app-invitation/6cb2772b61966508dd8f414ba3b44510 to use the app.
  3. Create a Make account, if you don't have one.
  4. Go to Scenarios in the sidebar and click on Create a new scenario.
  5. Search for Cal.com in the apps list and select from the list of triggers - Booking Created, Booking Deleted, Booking Rescheduled, Meeting Ended
  6. To create a connection you will need your Cal deployment url and the app API Key generated above. You only need to create a connection once, all webhooks can use that connection.
  7. Setup the webhook for the desired event in Make.
  8. To delete a webhook, go to Webhooks in the left sidebar in Make, pick the webhook you want to delete and click delete.

Localhost or Self-hosting

Localhost urls can not be used as the base URL for api endpoints

Possible solution: using https://ngrok.com/

  1. Create Account
  2. Download ngrok and start a tunnel to your running localhost
    • Use forwarding url as your baseUrl for the URL endpoints
  3. Use the ngrok url as your Cal deployment url when creating the Connection in Make.