Rocket chat github integration12/31/2023 You can acheive this by combining the two flags -eventin and -waitfor. One very common usecase is to be notified about all the meetings/events for each day, in the morning. You can change that behaviour however you like. In the example command above, the event data is fetched from the Google servers every 5 minutes. Once you get the token, copy and paste it on the terminal and hit enter. Click on it and use your Google account to authorize the app. (default "5m")Įnter the webhook url you got from Rocket.Chat.Įnter the appropriate values for the respective options. Time to wait before attempting a POST to Rocket.Chat webhook. The upper limit of upcoming event start time. Specify the timezone the start and end dates should be in (default: "America/New_York")Įnter path to the credentials file. List of calendar IDs, separated by commas. Use the help option to learn all the command line options and modify its execution process - rocketchat-google-calendar -h Usage of. This way you won't have to specify the whole path to the command every time. To install the integration program, the easiest way is to first install the go binary and the run the following command - go get /debdutdeb/rocketchat-google-calendarĮdit your bashrc, zshrc or fish config and add $(go env GOPATH)/bin to your PATH. The integration program runs on a server, periodically grabs the event data from your calendar and sends that data to your Rocket.Chat server to be processed and sent to the channel you set up in the previous section. Go to the bottom of the page and click "save".Īs soon as the webhook is saved, you'll notice a webhook URL.For the script, copy the contents of this file. You can use other usernames as well, you're free to experiment. For the "post as" box, enter a bot username like rocket.cat. Enter the channel name where the messages are going to be posted. Click the "New" button on the top right corner, then select "incoming" for the webhook type.Create a dedicated channel for the event messages to be posted.To learn how to create credentials for a desktop application, refer to Create credentials (make sure you download the JSON file). Prepare authorization credentials for a desktop application.To create a project and enable an API, refer to Create a project and enable the API. A Google Cloud Platform project with the Google Calendar API enabled.With this integration, you'll get your event notifications right into Rocket.Chat. Want to help us improve the app? Great! Make sure you have installed.This integration uses Rocket.Chat incoming webhook. The changes from the latest step are likely to be the ones on the master branch. You can see how it evolves from example to example by checking the step-* branches. This app has been developed during our webinars series. Make sure the user rocket.cat is able to send messages in the channel/private group/discussion you want to be notified. When you run the /github connect command, only the current channel/private group/discussion will receive notifications from GitHub.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |