Hub
Pricing About
WorkflowWorkflow

Create Google Calendar Event Using OAuth2 Nodes

APIOAuth2Google CalendarRelease 5.1
knime profile image
Versionv1.0Latest, created on 
Oct 20, 2023 2:07 PM
Drag & drop
Like
Download workflow
Workflow preview
You can easily download and run the workflow directly in your KNIME installation. We recommend that you use the latest version of the KNIME Analytics Platform for optimal performance. As you may notice, the workflow nodes are currently not executed (indicated by the red light) because first, you must create an OAuth2 Client ID and enable the Calendar API in the Google Cloud Platform. Next, in the "Credentials Configuration" node, input the Client ID and Client Secret from your Google Cloud Platform account. These credentials will be passed as a flow variable in the "OAuth2 Authenticator" node. In the "OAuth2 Authenticator" node, set the Service type as 'Google' and choose "Confidential" as the Client/App type. Then, select the previously generated credentials and define the API call Scope. You can find a list of Google scopes in the 'External resources' section. After this, click the login button to authorize the application to perform actions based on the defined scope on behalf of the login user. You need the calendar ID in the URL to create the calendar event. We use the String Manipulation (Variable) node to inject the calendar ID into the request URL. Finally, in the lower branch we create the JSON request body for the calendar event. Set details such as the interviewer and candidate emails, meeting duration (45 minutes), etc. Our example is set up to create a calendar event that spans from the present time to 45 minutes later. To complete the process in the POST Request node configuration window: 1. Connect the OAuth2 Authenticator port with the POST Request node for authentication. 2. In the first tab, "Connection", configure the request URL. 3. In the "Request body" tab of the POST Request node, pass the JSON request body as a column. The component contains a Table view that shows the link to the calendar event and other meeting details. You can copy and paste the link to your browser. This workflow can be expanded to become a more complex data application that helps the company's HR department better manage the interview flow of candidates.

External resources

  • Google Cloud Platform
  • Google Calendar API
  • Google Calendar API - Create event JSON example
  • How to find a Google Calendar Id?
  • GUID Generator Component - KNIME Community Hub
  • List of OAuth 2.0 Scopes for Google APIs - Docs
Loading deploymentsLoading ad hoc jobs

Used extensions & nodes

Created with KNIME Analytics Platform version 5.1.0
  • Go to item
    KNIME Base nodesTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.1.0

    knime profile image
    knime
  • Go to item
    KNIME Basic Authentication nodesTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.1.0

    knime profile image
    knime
  • Go to item
    KNIME ExpressionsTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.1.0

    knime profile image
    knime
  • Go to item
    KNIME JavasnippetTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.1.0

    knime profile image
    knime
  • Go to item
    KNIME JSON-ProcessingTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.1.0

    knime profile image
    knime
  • Go to item
    KNIME Quick FormsTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.1.0

    knime profile image
    knime
  • Go to item
    KNIME REST Client ExtensionTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.1.0

    knime profile image
    knime
  • Go to item
    KNIME ViewsTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.1.0

    knime profile image
    knime

Legal

By using or downloading the workflow, you agree to our terms and conditions.

KNIME
Open for Innovation

KNIME AG
Talacker 50
8001 Zurich, Switzerland
  • Software
  • Getting started
  • Documentation
  • Courses + Certification
  • Solutions
  • KNIME Hub
  • KNIME Forum
  • Blog
  • Events
  • Partner
  • Developers
  • KNIME Home
  • Careers
  • Contact us
Download KNIME Analytics Platform Read more about KNIME Business Hub
© 2025 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Data Processing Agreement
  • Credits