What to Do When One of Your Connections in Zenphi Expires + Pro Tips
Over time, some third-party services (like Google) enforce security rules that automatically expire integrations or connections with other apps — typically after 1 or 2 years. When this happens, you’ll need to re-authenticate the connection to continue using it in your Zenphi flows.
🧩 How You’ll Know Your Connection Has Expired
When a connection expires, you’ll notice an error message in your flow run logs, often saying something like:
“..Gmail Send Email connection is expired or revoked..”
This means that Zenphi no longer has permission to use that connection, and the affected actions can’t run successfully.
🔄 Best Approach: Re-Authenticate the Existing Connection
The most effective and seamless way to fix this issue is to re-authenticate the same connection.
Locate the connection that’s expired and renew it — this way, your flows can continue running without versioning issues.
💡 Why Not Just Create a New Connection?
Yes, it’s technically possible to create a new connection and update the affected action to use it.
However, here’s an important detail to keep in mind:
When you retry a faulted flow, Zenphi attempts to continue using the same flow version that was active when the run started.
If you’ve created a new connection (which updates the flow to a new version), the older, faulted runs will still fail — because they’re tied to the expired connection.
So even if your new flow version works perfectly, retrying previous faulted runs will still show the same connection error.
⚙️ How to Re-Authenticate a Connection
You can re-authenticate in two simple ways:
From the Action Itself
Hover over the connection name within the action.
You’ll see a Re-authenticate button appear.
Click it and follow the prompts to renew access.
From the Connections Page
On the left-hand panel, click the gear icon ⚙️.
Go to the Connections tab.
Here you’ll see both your personal and workspace connections.
Select the relevant one and click Re-authenticate.
🔁 Bonus Tip: Use Re-Authentication to Switch Accounts
The re-authentication process also allows you to change the account linked to a connection.
This can be extremely helpful in real-world scenarios — for example, if your HR manager changes and flows are still sending emails from their address.
Simply re-authenticate the HR-related connections with the new manager’s account, and everything updates instantly — no flow edits required.
✅ In Summary
Expired connections happen due to third-party security rules.
Re-authenticate instead of replacing connections to avoid version conflicts.
Use the Re-authenticate option in the action or via the Connections page.
Take advantage of re-authentication to seamlessly switch accounts when needed.