Skip to main content

Power Automate

With Power Automate you can move data between GoFormz and the other tools you use in your daily work.

Updated this week

GoFormz + Microsoft Power Automate Custom Connector

GoFormz integrates with Microsoft Power Automate to help you automatically take action when a form is completed. This custom connector allows you to connect GoFormz with Microsoft tools such as Outlook, Teams, SharePoint, OneDrive, and many others.

This article explains how the Power Automate custom connector works and provides step-by-step instructions for setting it up, including uploading the GoFormz custom connector, configuring authentication, creating triggers, and using available actions in your flows.


Overview

The GoFormz Power Automate integration allows you to automate workflows using GoFormz form data. This integration is currently delivered via a custom Power Automate connector while we actively work toward publishing an official GoFormz connector on the Microsoft Power Automate Marketplace.

⚠️ Important

This custom connector is a temporary solution. Once the GoFormz connector is available in the Power Automate Marketplace, customers will be required to migrate to the marketplace version. The custom connector will be deprecated at that time.


Prerequisites

Before getting started, you will need the following items provided by GoFormz:

  • GoFormz.swagger.json file

  • Client ID & Client Secret

  • Custom connector code package


Step 1: Create the Custom Connector in Power Automate

  1. Log in to Power Automate.

  2. Navigate to Custom connectors.

  3. Select + New custom connector.

  4. Choose Import an OpenAPI file.

  5. Enter a name for the connector (for example, GoFormz Custom Connector).

  6. Upload the GoFormz.swagger.json file provided by GoFormz.


Step 2: Configure Security

  1. Go to the Security tab in the connector setup.

  2. Configure OAuth 2.0 using the following values:

Required Values

Save the security configuration.

Once saved, Power Automate will generate a Redirect (Return) URL, provide this to GoFormz. Please hold on next steps until confirmation is received from GoFormz to proceed. This is required to complete authentication and activate the connector.


Step 3: Upload Connector Code

  1. Navigate to the Code section of the connector.

  2. The connector needs to be saved before being able to use custom code, so save the customer connector first.

  3. Upload the code package provided by GoFormz.

  4. Enable the custom code for the “Export form” step only.

  5. Toggle on the Code Enabled

  6. Save the connector.


Step 4: Set Up the Trigger (Form Completed)

Create a New Flow

  1. In Power Automate, select Create.

  2. Choose Automated cloud flow.

  3. Click Add a trigger.

  4. Select Custom connectors.

  5. Choose the GoFormz Connector.

  6. Authenticate.


Trigger Configuration

Configure the trigger using the following values:

Field

Value

Body

Enabled (required)

eventType

form.complete

entityId

Template ID

⚠️ Important

The entityId must be the Template ID of the GoFormz template you want to monitor.

The trigger will fire only when forms created from this template are completed.

  1. Save the flow.


Step 5: Confirm Webhook Creation in GoFormz

After saving the trigger:

  1. Log in to GoFormz.

  2. Navigate to Settings → Webhooks.

  3. Confirm that a new webhook has been created automatically.

✅ The presence of this webhook confirms that the trigger has been registered successfully.


Using GoFormz Actions in Power Automate

All GoFormz actions are available under Custom when adding a new step to a Power Automate flow.


Action: Get Form

Retrieves detailed information for a completed form.

Parameters

  • ID (Required)

    • Use the Form ID from the trigger output.

    • Click into the field and press / to insert a dynamic value.

    • Select:

      • Body → item → id from the Form Completed trigger

Notes

  • No additional parameters are required.

  • To reference specific form fields in later steps, use:

    • Dynamic content

    • Expressions

    • Conditions based on the returned payload


Action: Create Form

Creates a new form from a template and optionally assigns it to a user or group.

Parameters

  • name

    The name of the new form

  • templateId

    The Template ID used to create the form

  • The ID of the user or group the form is assigned to

  • assignment.type

    Specifies whether the assignment is to a user or a group

ℹ️ Tip

Use this action to programmatically generate and assign new forms as part of an automated workflow.

Action: Export Form to PDF

Export an existing Form as a PDF.

Parameters

  • ID (Required)

    • Use the Form ID from the trigger output.

    • Click into the field and press / to insert a dynamic value.

    • Select:

      • Body → item → id from the Form Completed trigger

  • type

    Set to PDF

  • pages

    Included pages in export

Did this answer your question?