Catch expired browser agent logins before an overnight run fails
One screen showing every saved portal login your browser agents use, how fresh each one is, and a Fix button that lets you sign back in by hand.
Build me an internal app my ops team opens to check whether the portal logins our browser agents depend on are still working. An expired cookie is the single most common reason an overnight automation fails silently, and right now nobody finds out until a run comes back empty.
The main screen is a list of every saved Browser Use Cloud profile, loaded with List Profiles. For each profile call Get Profile and show its name, the sites it holds cookies for (the stored cookie domains), and when it was last used. Flag anything last used more than seven days ago as stale, since Browser Use's own guidance is to refresh profiles older than seven days to keep login state fresh. Sort broken and stale profiles to the top, because that is the only reason somebody opens this app.
Each row also needs context that Browser Use does not store, so keep it in the app and let people edit it inline: which team owns the login, which Slack channel to notify, which automations break when it expires, and the URL of the account page a check should open.
Give every row a Check button. It fires a cheap verification task with Run Agent Task against that profile, with a prompt along the lines of "open the account page and tell me whether you are still signed in, and say which account name you can see". Then poll Get Session until the session leaves running, and show a green or red result with the agent's own words quoted verbatim plus the time of the check. Save the last result on the row so the list still shows it the next time somebody opens the app. Keep the task to one page load and one question so a check stays cheap.
When a login is broken, a Fix button starts a stealth cloud browser with Create Browser Session bound to that profile, then reads the live view URL from Get Browser Session and embeds it in the app so the person can sign in by hand, clear any two factor prompt, and land on the logged in page. Under the embed put one clear button that means "I am signed in, save it", and that button must end the session properly with Stop Browser Session, plus Stop Session if an agent session is attached. This step is load bearing: profile state, cookies and local storage, is only saved when the session ends, so if the window is abandoned or times out the fresh login is silently thrown away. Say that plainly in the UI, warn before anyone navigates away with a session open, show how long is left before the session times out, and once the session is stopped re-run the check automatically so the row turns green on its own.
Round it out with management actions. Rename a profile with Update Profile. Retire one with Delete Profile behind a confirmation that spells out that the stored login state goes with it. Onboard a new portal with Create Profile, and drop the person straight into the same manual sign in flow afterwards so the new profile actually ends up holding a login.
On any red profile, a Tell the team button sends a Slack message with the slackbot Send a Message action to the channel stored on that profile. The message should name the login that went bad, the sites it covers, what the agent reported in its own words, and which automations are blocked until it is fixed. Pre-fill the text and let the person edit it before sending.
Design it as a dense operational table rather than a pretty dashboard: red, amber and green status, everything visible without scrolling sideways, and quiet when all the logins are healthy.
What does this prompt do?
- Lists every saved browser login your automations rely on, the sites each one covers, when it was last used, and a red flag on anything older than seven days.
- Checks any login on demand: an agent opens the account page and reports back, in its own words, whether it is still signed in.
- When a login is broken, opens a live browser window inside the app so you sign in yourself, then closes the session properly so the fresh login is actually saved.
- Tells the owning team in Slack which login went bad and which automations are on hold until somebody fixes it.
What do I need to use this?
- A Browser Use Cloud account with the saved browser profiles your automations already use
- A Slack workspace where the app can post to your ops channel
- For each portal, the account or dashboard page an agent should open to confirm it is still signed in
- Someone with the real portal credentials on hand for the manual sign in step, including any two factor codes
How can I customize it?
- Change the seven day staleness window to match how quickly each portal expires its logins
- Reword the check the agent runs, or point each portal at a different page to confirm sign in
- Choose which Slack channel each login reports to and list the automations that depend on it
FAQs
Why do my overnight automations fail silently?
Do I have to hand over my portal passwords?
What happens if I close the window halfway through signing in?
Does checking a login cost anything?
How many logins can it track?
Related templates
See how your brand's news coverage and sentiment stack up against four competitors, then let an assistant write the weekly report for you.
One screen showing every social post waiting on approval, sorted by deadline, so reviewers can approve or reject without leaving the page.
Every Monday, find the past champions and closed-won contacts who changed jobs, update Attio, and get the moves worth chasing in Slack.
Staff submit what happened, your social manager edits the copy, picks the accounts and puts it on the calendar without a single spreadsheet.
Open one board each morning, see which voice calls went badly, replay the exact moment the caller got frustrated, and file the fix.
A personal queue of every overdue Guru card, sorted by how late it is, with one-click verify, reassign, comment, and an agent that drafts the refresh for you.
Stop hearing about expired logins from a failed run.
Give your ops team one screen that shows which browser agent logins still work, and a way to fix the broken ones in a couple of minutes.