Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds Cal trigger Docs #862

Merged
merged 13 commits into from
Jun 8, 2022
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions docs/integrations/credentials/cal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Cal

You can use these credentials to authenticate the following nodes with Cal.

- [Cal Trigger](/integrations/trigger-nodes/n8n-nodes-base.calTrigger/)

## Prerequisites

Create a [Cal](https://www.cal.com/) pro account.

## Using API keys

Your API requests are authenticated using API keys. Any request that doesn't include an API key will return an error.

1. Log into your Cal account
StarfallProjects marked this conversation as resolved.
Show resolved Hide resolved
2. Click on Settings
StarfallProjects marked this conversation as resolved.
Show resolved Hide resolved
3. There you will find the API keys section which allows you to generate a key for use. More information on this can be found on the [Cal Authentication](https://developer.cal.com/api/authentication) page
StarfallProjects marked this conversation as resolved.
Show resolved Hide resolved
4. Use API key in your Cal trigger node credentials in n8n.


![Getting Cal credentials](/_images/integrations/credentials/cal/getting-api-key.gif)
33 changes: 33 additions & 0 deletions docs/integrations/trigger-nodes/n8n-nodes-base.calTrigger.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Cal Trigger

[Cal](https://cal.com/) is the event-juggling scheduler for everyone. Focus on meeting, not making meetings.

!!! note "Credentials"
You can find authentication information for this node [here](/integrations/credentials/cal/).



## Example Usage

This workflow allows you to receive updates for events in Cal.

- [Cal Trigger]()

The final workflow should look like the following image.

![A workflow with the Cal Trigger node](/_images/integrations/trigger-nodes/caltrigger/workflow.png)


### 1. Cal Trigger node

1. First of all, you'll have to enter credentials for the Cal Trigger node. You can find out how to do that [here](/integrations/credentials/cal/).
2. Select the events you want to receive updates for from the *Events* dropdown list.
StarfallProjects marked this conversation as resolved.
Show resolved Hide resolved
3. Click on *Execute Node* to run the workflow.
StarfallProjects marked this conversation as resolved.
Show resolved Hide resolved

(Optional Advanced Settings)

Click on *Add Field* under advanced fields and select the option(s) you wish to add. You can enter an EventType ID, an App ID and a payload template. *Please note that the eventType ID should only be of a team EventType.*
StarfallProjects marked this conversation as resolved.
Show resolved Hide resolved

!!! note "Activate workflow for production"
You'll need to save the workflow and then click on the Activate toggle on the top right of the screen to activate the workflow. Your workflow will then be triggered as specified by the settings in the Cal Trigger node.