While configuring an on-premise app's trigger or action:
While setting up a flow, if you select an on-prem app for the trigger, or if you select an on-prem app's action, you'll need the on-prem agent.
- If you've already created an agent, select the agent from the on-prem agent dropdown.

- If you haven't yet created an agent, click New.
- Select the operating system of your machine, then click on the download link suitable for its architecture.
- Click Generate Key to generate a unique key for the new agent. In the pop-up window that appears, click Accept to continue.
- Follow the on-screen instructions provided for your selected operating system to install and run the agent.
- Once you've successfully set up the agent, click Next.
- Click Authorize.
Installing the agent in your system
For Windows:
There are two ways to install the On-Prem agent on your Windows operating system:
Graphical Installer
- From the agent download screen, download the agent installer for your system's architecture (32-bit or 64-bit). Copy the installation key.
- Once downloaded, double-click the installer to start the installation.
- When prompted, copy and paste your installation key into the installer.
- Provide a name for the agent, then configure the proxy details, if needed. Click Next.
- Choose the folder where the agent should be installed, then click Next.
- Once the installation is finished, then click Done.
- Return to the Zoho Flow browser window and click Next.
Command line installer
- From the agent download screen, download the agent installer for your system's architecture (32-bit or 64-bit). Copy the installation key.
- Open Command Prompt.
- List the folder where the agent is downloaded by entering its path followed by '>dir'. For example, if the agent is downloaded to c:\Users\Administrator\Documents, then type in c:\Users\Administrator\Documents>dir and press enter.
- Press enter again, then enter start FlowAgent.exe
- The installer will begin to install the agent. When prompted, enter the installation key that you copied earlier from the browser window running Zoho Flow. Provide a name for the agent.
- Click Next.
- Choose the folder where you want to install the agent. Click Next.
- When the installation is complete, check the box that says Start Agent, then click Finish.
Note: Make sure that port 443 (HTTPS protocol) is enabled for outbound connections in your firewall. Learn how
For MacOS:
- From the agent download screen, download the agent. Copy the installation key.
- Navigate to the folder where the installer is downloaded, and extract the ZIP file named 'FlowAgent_mac.zip'.
- Double-click FlowAgent.
- You may receive the following warning:
- You need to allow MacOS to open and execute the installation package.
- Navigate to System Preferences > Security and Privacy. In the General tab, click Allow for Allow apps downloaded from: App store and Identified Developers.
- If you're using MacOS Ventura, you might see a message that FlowAgent was blocked as it was not from an identified developer. Click Open Anyway, then click Open, and try installing again.
- When prompted, copy and paste your installation key into the installer. Provide a name for the agent, then click Next.
- Choose the folder where you want to install the agent. Click Next.
- Configure the proxy server port details and credentials, if needed. Click Next.
- Review the information, then click Install.
- Once the installation is complete, click Done.
- Open Terminal, then enter <installed location>/FlowAgent/bin.
- Enter sh startagent.sh
- Return to the browser window running Zoho Flow.

Note: Make sure that port 443 (HTTPS protocol) is enabled for outbound connections in your firewall.
Learn how For Linux:
Graphical installer:
- From the agent download screen, download the agent. Copy the installation key.
- Open Terminal.
- Enter the path where the installer is downloaded.
- Enter the command chmod 755 FlowAgent.bin to provide the necessary permissions to the installer.
Note: This command provides the following permissions:
> Can delete, rename, and add files into the directory.
> Can change the file's content. - Run the installer by entering ./FlowAgent.bin
- After extracting the components of the installer, the installation window will appear. When prompted, paste the installation key that was previously copied from Zoho Flow.
- Once the installation is finished, return to Zoho Flow, then click Next.
Command line installer
- From the agent download screen, download the agent. Copy the installation key.
- Enter the path where the installer is saved.
- Enter the command chmod 755 FlowAgent.bin to provide necessary permissions to the installer.
Note: This command provides the following permissions:
> Can delete, rename, and add files into the directory
> Can change the file's content - Enter ./FlowAgent.bin to run the installer.
- When prompted, enter the installation key. Provide a name for the agent.
- Enter the path where you'd like to install the agent.
- Configure the proxy details, if needed.
- Review the installation details, then press Enter to continue.
- Once the installation is finished, return to Zoho Flow, then click Next.

Note: You need to make sure that port 443 (HTTPS protocol) is enabled for outbound connections in your firewall.
Learn how Enable ports in firewall
You need to make sure that port 443 (HTTPS protocol) is enabled for outbound connections in your firewall.
To prevent any discrepancies with enabling port 443, you will need to enable the following domains:
flow.zoho.com us4-dms.zoho.com us3-dms.zoho.com accounts.zoho.com maven.zohodl.com |
flow.zoho.eu eu1-dms.zoho.eu eu2-dms.zoho.eu accounts.zoho.eu maven.zohodl.com |
flow.zoho.in in1-dms.zoho.in in2-dms.zoho.in accounts.zoho.in maven.zohodl.com |
flow.zoho.com.cn cn2-dms.zoho.com.cn cn3-dms.zoho.com.cn accounts.zoho.com.cn maven.zohodl.com |
flow.zoho.jp jp1-dms.zoho.jp jp2-dms.zoho.jp accounts.zoho.jp maven.zohodl.com |
flow.zoho.com.au au1-dms.zoho.com.au au2-dms.zoho.com.au accounts.zoho.com.au maven.zohodl.com |
flow.zoho.com.ca ca1-dms.zohocloud.ca ca2-dms.zohocloud.ca accounts.zoho.com.ca maven.zohodl.com |
flow.zoho.com.sa sa1-dms.zoho.sa sa2-dms.zoho.sa accounts.zoho.com.sa maven.zohodl.com |
Restarting the agent
Stopping the agent
For Windows:
To stop the agent:
Open Command Prompt.
Run stopagent.bat from <AGENT_HOME>/bin.
Alternatively, you can find the Zoho Flow Agent service in the Services app and click the Stop button.
For Mac/Linux:
Open Terminal.
Navigate to <AGENT_HOME>/bin.
Enter bash shutdownagent.sh
Alternatively, you can navigate to the Terminal window where agent is running, then press Control+C to stop the agent.
Restarting the agent
For Windows:
To restart the agent:
Navigate to <AGENT_HOME>/bin in Command Prompt.
Enter restartagent.bat
Alternatively, you can find the Zoho Flow Agent service in the Services app, then click the Restart button.
For Mac/Linux:
Navigate to the terminal where the agent is currently running.
Stop the agent by pressing Ctrl+C (Linux) or Control+C (macOS).
Restart the agent by entering bash startagent.sh (macOS/Linux).
Updating the agent
You need to keep your agent (installed on your system) updated at all times to ensure that your flows with on-premise app trigger or action run smoothly. It is advised that you turn the auto-update option ON for all agents.
Auto-update will be turned on by default when you finish installing an agent in your system.
Updates to the agent include:
- Security enhancements
- Additional support for new or updated applications
- Bug fixes and patches
To enable auto-update on:
- In the Settings section, navigate to Agents.
- Click View Details adjacent to the required agent.

- Toggle the auto-update switch to On.

Deleting the agent
Deleting an agent will stop all data exchange between Zoho Flow and the machine the agent was installed on.
To delete an agent:
Your agent might not be reachable due to reasons such as unavailability, crashes, or other issues. In that case, follow the steps below to delete your agent.
For windows
Go to the Control Panel, then click Uninstall or change a Program.

Right-click Zoho Flow On-Prem Agent and click Uninstall.
- A pop up will appear to confirm removing all the folders. Click OK to proceed.
For Mac or Linux
- Navigate to the terminal and locate the folder where the agent is installed.
- Type rm -rf FlowAgent to delete the agent.