How can i automate login flows with 2fa in browser automation?

Automating login sequences with email-based two-factor authentication (2FA) can be tricky, especially when integrating multiple agents. Has anyone successfully configured Autonomous AI Teams to handle this? How did you set it up so one agent navigates the browser flow while another fetches the OTP from Gmail?

I’ve found that setting up clear communication channels between the AI agents is crucial. This ensures that the OTP is successfully passed from one agent to another, completing the login process seamlessly.