Setup for Google Cloud Functions

Note: This article applies to the Google data actions integration when used with Google Cloud Functions.

You can use Google Cloud Functions with the Google data actions integration but their use requires special processing.

The following steps outline the setup to use functions with the Google data actions integration. 

  1. Configure Google Cloud Platform.

    In addition to adding service accounts and creating private key files, you must configure functions, roles, and permissions. For more information, see Configure Google Cloud Platform.

    For a working example, see Example Google Cloud Function with a data action.

  2. Add the integration.

    Add an integration for each service account that you set up in Google Cloud Platform. If you want to use multiple APIs that span service accounts in Google Cloud Platform, then add a separate integration for each service account. For more information, see Add a data actions integration.

  3. Create a custom action.

    Create an action that can execute the Google Cloud Functions. The configuration of an action that executes Google Cloud Functions requires special inputs. For more information, see Create a custom action for integrations, Add configuration to custom actions for integrations, Request configuration for data actions, and Response configuration for data actions.

     For a working example, see Example Google Cloud Function with a data action.

You can now use a data action that executes Google Cloud Functions.

For more information about the integration, see About the Google data actions integration.