Browser Agent Automation with MFA Input – Is It Possible to Continue Actions After User Enters OTP?

Hi everyone :waving_hand:,

I’m currently working on a workflow where I need a browser agent (within n8n) to simulate the following process:

  1. Navigate to a login page
  2. Input the username and password
  3. Pause for user to input the MFA code (OTP)
  4. After the user submits the code, the agent resumes:
  • Logs into the application
  • Performs specific follow-up actions (e.g., navigate, click, scrape, etc.)

I’ve attempted this flow using Airtop and Browser-Use, but I’m running into an issue after the MFA code input. The agent seems to pause successfully, but never resumes the remaining tasks after the OTP is entered by the user.

What I’m hoping to find out is:

  • :white_check_mark: Is there a structured way to handle user-assisted MFA (OTP entry) and resume the automation afterward?
  • :counterclockwise_arrows_button: Is there a specific agent configuration or pattern I should adopt to make this work reliably?
  • :locked_with_key: Or would this require an entirely different approach or tool integration to handle MFA in-browser smoothly?

I’d really appreciate your insights or suggestions on this. I’m trying to avoid cloud-hosted browser automation tools for now and would prefer something that runs locally and gives me visual feedback of the browser actions (like a live view or debug window).

Thanks so much in advance :folded_hands:

—Emmanuel