GUIDE: Use Calendly API to Create Single-Use Scheduling Links

  • 3 December 2021
  • 9 replies
  • 533 views

Userlevel 7
Badge +14

GUIDE: Use Calendly API to Create Single-Use Scheduling Links

 

RESOURCES

Calendly API Personal Access Token: https://developer.calendly.com/how-to-authenticate-with-personal-access-tokens

Calendly API Endpoint: https://calendly.stoplight.io/docs/api-docs/b3A6MzQyNTM0OQ-create-single-use-scheduling-link

Webhooks: https://zapier.com/apps/webhook/help

 

CONFIG

  1. Use the Webhooks app
  2. Action Event: Custom Request
  3. Method: POST
  4. In the Data field, replace the [uuid] with your Calendly Event UUID
    1. NOTE: You can find this by testing the Calendly Zap trigger for Invitee Created
  5. In the Authorization Header, replace with your [PERSONAL ACCESS TOKEN]

 

 

Tips and Inspiration contributed by: Troy Tessalone - Automation Ace


9 replies

Userlevel 1

Hey there! 

I’m trying to use this to achieve a zapier integration that takes spreadsheet rows of availability (i.e., the hours that a volunteer is available) and turns those into individual calendly scheduling links. I believe this zap would accomplish part of that by creating a unique link. However, I am currently running into the “The app returned “Bad Request.”” error.

Do you see anything wrong with this zap? Should I be filling something into Basic Auth – and if so, how should I, given I log into Calendly through Google and don’t have a site password?


Final question – is there a way to post the availabilities to the newly created calendly link, without having to do so manually? 

 

Thanks so much!

Userlevel 7
Badge +14

Hi @Aanandh Chan 

Make sure there is a comma at the end of the owner row.

It doesn’t appear the Calendly API supports adjusting the availability for events.

Reference the Calendly API docs: https://developer.calendly.com/api-docs/b3A6MzQyNTM0OQ-create-single-use-scheduling-link

Userlevel 1

Got it. Thank you, Troy!

Userlevel 4
Badge +1

Thanks for this, Troy. I’ll be putting it to use straight away.

Userlevel 4
Badge +1

@Troy Tessalone every time I run this it generates the same booking link. I am expecting the link to be unique each time since it’s single use. Am I missing something or misunderstanding how single use link works?

Userlevel 4
Badge +1

I tried a different Event type to troubleshoot and now it’s working as expected. I will chalk this up to operator error.

I’ve come up with a fun workflow for this that I’ll be sharing soon. Thanks @Troy Tessalone for the inspiration.

Userlevel 7
Badge +9

Thanks for keeping us updated, @donovanwatts! Excited to hear more about your new workflow! 🤗

Is this no longer applicable?

I cannot find custom request as action event anymore in Webhooks by Zapier.

Userlevel 7
Badge +14

@SooperFit 

Webhook app Custom Request action is still available.

 

Reply