Managing Connections

Overview

Hyperscience provides Input and Output Blocks for plug-and-play integrations with our system. After an Input or an Output Block has been uploaded to Hyperscience, you will need to add individual connections to specific resources on your system. For example, after uploading an email listener, you will need to add connections that specify which email addresses the connector should monitor and process submissions from. For a list of all available connections for Input Blocks and Output Blocks, see Input Blocks and Output Blocks.

Adding a connection

There are two ways of adding a connection. Depending on whether you’d like to add a connection to an existing flow or import a new flow with connections that are already configured, there are different instructions that you need to follow. You can find both sets of step-by-step instructions below.

Add a connection to an existing flow 

  1. Go to Flows.

  2. Click on an existing flow.

  3. Click on the Input or the Output block you want to add a connection to.

  4. Click on the Add button on the right-hand side of the page next to the number of connections.

  5. Select the type of connection you’d like to add.

    AddConnection.png

  6. Click Add Connection.

  7. Configure the connection by entering its settings in the right-hand sidebar. To learn more about the settings for each connection type, see Input Blocks and Output Blocks.

  8. Click Save in the upper-left corner of the flow.

Import a new flow with connections

  1. Go to Flows.

  2. Click on the Import Flow button.

  3. Drag and drop your flow package in the box provided, or click Choose File to find and open the flow package on your machine.

    Note that in order to import a new flow with input and output connections, you’d have to have configured the connections within the flow package before importing it.

  4. Click Import. 

Editing a connection

The Flow Studio allows you to manage and customize your connections. For example, you can enable, disable, and configure connections.

Enabling or disabling a connection

To enable or disable a connection, you need to use its toggle in Flow Studio. Note that each newly added connection is disabled by default. 

EnableDisableConnection.png

Configure a connection

To start using a connection, you need to configure it. The steps to configure a connection are the following:

  1. Go to Flows.

  2. Click on an existing flow.

  3. Click on the Input or the Output block, depending on where the connection you’d like to configure is.

  4. Click on the menu (three dots) next to the connection.

  5. From the drop-down menu, select Edit Connection

The Edit Connection button redirects you to the connection’s configuration options. You need to configure all required fields before you can start using a connection. To learn more about the configuration fields of all available connections, see Input Blocks and Output Blocks.

You can always test the connection with the Test Connection button below the configuration options. If there are any validation errors, they will appear when you try to Save & Deploy your flow.

Removing a connection

The difference between removing a connection and disabling a connection is that:

  • A connection that is removed can only be re-created from scratch, or you can restore a previous version of the flow where the connection was still present.

  • A connection that is disabled can always be re-enabled and used again.

To remove a connection:

  1. Go to Flows

  2. Click on an existing flow.

  3. Click on the Input or the Output block, depending on where the connection you’d like to configure is.

  4. Click on the menu (three dots) next to the connection. 

  5. From the drop-down menu, select Remove Connection