Connect 3rd party services

Next Matter can integrate with any system through integration steps, for example, to retrieve data and use it further in a process or to update data in a third party system.

Next Matter and an external application connect using HTTP requests. Each request is a step in Next Matter, called an integration step.

There are two types of integrations:

  1. Low-code integrations: Those integrations need to be connected in the Next Matter portal in Automations library. When connected, you can select them directly as an Integration step, and in some cases, you might only need a few JSON details to configure the step.
  1. Custom integrations:
  • Advanced: You will find them in the Next Matter portal in Automations library. These integrations require you to give the 3rd party tool to access Next Matter, share login credentials when you connect them, and provide the endpoint and JSON request body when you use them in workflows.
    You will find database integration in this category, too. These integrations require you to enter a few more data items such as port, username and password, and database hostname to connect.
  • Pro: These integrations require authorizing your API calls with 3rd party-generated credentials. It might be the API key or basic authorization. You can provide the authorization details when you configure the custom integration step in Next Matter alongside the endpoint URL and JSON request body.
    You can also make calls to Next Matter API. This will also require you to authenticate your call - this time with the Next Matter API key you can generate in Company > Next Matter API keys.

πŸ“˜

Make you have permissions to generate authentication credentials in Next Matter and the external app. If not, your company admin should be able to provide those.

Low-code integrations

How to connect an integration
  1. In the main navigation, go to Automations library.
  2. Open the Integrations tab.
  1. Search for your integration.
  2. Click Connect in the integrations tile.
  3. Provide the required data or consent to the app sharing data with Next Matter.

(Custom - Advanced only) When connected, app shows in the Authorization dropdown inside any Custom integration step. Select the connected app so as not to authenticate every call you make.

Good to know: Users and authentication

The authorization rights for the entire Next Matter workspace are tied to the user that is used to make the integration connection. For example, if you authorize Google Sheets, then Next Matter will ask you to select a user for the Google Sheets connection. As a consequence, Next Matter can interact only with the sheets to which this user has access.

πŸ‘

Some companies create an email address and user for all Next Matter system integrations, for example [email protected]. That way it is easier to manage system access rights across all Next Matter workflows.

A successful integration message
How to disconnect an integration

Any admin can disconnect the integration. Workflows that use integration steps with that integration will no longer work until re-connected by an admin.

  1. In the main navigation, go to Automations library.
  2. Open the Integrations tab.
  3. Search for your integration.
  4. Click Disconnect for an integration.

Custom integrations

What are custom integrations for?

Custom integrations are used to connect several 3rd party tools that use REST API, or to call Next Matter API.
Normally, these integrations are added and configured as you build a workflow as a custom integration step. With Custom integrations, you can connect most external tools and are not limited to the ones that you can connect within Next Matter.

How to connect custom integrations?

You can connect some custom integrations such as PostgreSQL or Microsoft OneDrive directly in Next Matter. If the integration you need is not on the list, you connect it when you build your workflow.

πŸ“˜

To use custom integrations that you can't connect directly in Next Matter, you'll need the 3rd party app's API key. If you're not an admin, you can ask your IT department to generate those for you.

  1. In the main navigation, go to Automations library.

  2. Open the Integrations tab.

  3. Search for your integration.

  4. Click Connect in the integrations tile.

  5. Provide the required data or consent to the app sharing data with Next Matter.

Good to know: Users and authentication

The authorization rights for the entire Next Matter workspace are tied to the user that is used to make the integration connection. For example, if you authorize Google Sheets, then Next Matter will ask you to select a user for the Google Sheets connection. As a consequence, Next Matter can interact only with the sheets to which this user has access.

πŸ‘

Some companies create an email address and user for all Next Matter system integrations, for example [email protected]. That way it is easier to manage system access rights across all Next Matter workflows.

A successful integration message
How to disconnect an integration

Any admin can disconnect the integration. Workflows that use integration steps with that integration will no longer work until re-connected by an admin.

  1. In the main navigation, go to Automations library.
  2. Open the Integrations tab.
  3. Search for your integration.
  4. Click Disconnect for an integration.
How to build an integration step

To use such an integration when building a workflow, do the following:

  1. In your workflow, click + Add step.
  2. Select Integrations > Custom integration step.
  3. Click the step in the left-hand navigation and then click the cog wheel to configure the step.
  1. Provide the required details:
    1. (1) The API method and the URL of the endpoint you're calling. You might want to check the 3rd party developer documentation for the URL details.
    2. (2) Headers
    3. (3) Authorization header: it can be basic authentication or a token. You need to generate the details in the 3rd party app.

      πŸ“˜

      If you've connected the app directly in Next Matter, select the connected app from the Authorization dropdown. No additional authorization is required.

    4. Payload (body of the request in JSON format): you might check the 3rd party developer documentation for any required parameters.

Test integrations

When you create an integration step, it's a good idea to test the integration first before running the workflow instance.

  1. Click Test Integration.
  1. Use the generated test values or replace them with your own.
  2. Click Start Test and see if it gives you a correct response. If not, you can always re-configure the step and retry it.
  3. When you get a positive result, click done and work on the rest of the workflow.

Use templates

Templates are ready-made integration steps that are displayed in your workflow.

To use a template, in your process click + Add step > Templates > 3rd party templates and pick a template you want to use.

When you have the template in your workflow, click Settings for every step it created and configure it. In most cases, you'll need to enter the details in the placeholders in the Body of the step.

It might also happen that a placeholder can be replaced by a data reference of the data provided in one of the previous steps. To learn more about data references, see Data references.