For the complete documentation index, see llms.txt. This page is also available as Markdown.

Custom Functionality

You may encounter requirements that standard Flow Connect functionality can't address. In these cases, you can extend your solution with custom functionality.

The recommended approach depends on what you need to achieve and where the custom functionality needs to run.

Start with the PowerShell Connector

If the PowerShell Connector can solve your requirement, it is generally the simplest and fastest approach.

If PowerShell isn't suitable, you can build your own service and expose the required functionality through a REST API, which Flow Connect can then call using the REST Connector.

How you decide to build your own service depends on what you are trying to achieve, so we can't provide general guidelines. An LLM can likely generate the code at this stage, but consider consulting a software engineer to ensure proper security and reliability measures are in place if you plan to use it in production. The key is to wrap your service in a REST layer so you can set up a REST Connector in Flow to talk to it.

If you host your Connector agent on a server, you can also host your solution there for performance, simplicity, and security. But be extra careful not to fill up disks or overconsume its resources, as it could affect your critical business processes.

The decision flow below outlines the options.

Hosting a custom REST service

If you build a custom REST service, there are two main hosting options.

Host the service locally

If the service is used only by Flow Connect, it can be hosted on the same server as the Connector Agent and bound exclusively to the local loopback interface (localhost / 127.0.0.1).

In this setup, HTTP can be used only when the service is accessible exclusively through loopback. Configure appropriate authentication and restrict access to trusted local processes; loopback traffic is not protected against other processes on the same host. If traffic leaves the host, use HTTPS instead.

Agent Groups

If the REST Connector uses an Agent Group containing multiple Agent servers, a locally hosted service must be deployed and maintained on each server in the Agent Group. Requests may be executed by any Agent in the group.

Host the service externally

If the service needs to be accessible over a network, from multiple Agent servers, or by other systems or users, host it in the cloud or on another suitable server.

In this scenario, expose the service using HTTPS with a valid TLS certificate and an authentication method supported by your REST Connector configuration, together with any additional security controls required for your environment.

The hosting overview below illustrates the differences between the local and external approaches.

Responsibility for custom solutions

Custom solutions are outside the standard Flow Connect functionality and must be maintained by you.

This includes, where applicable:

  • backups

  • application and dependency updates

  • security patches

  • certificates and certificate renewal

  • security configuration

  • monitoring and operational maintenance

  • keeping the underlying technology stack on supported versions

For example, if the custom service is built using .NET, it should be upgraded when the .NET version it uses reaches end of support.

Last updated

Was this helpful?