Record Login Flow (Level 3)
gv_record_loginRecord a manual login flow including 2FA and captcha to enable automatic sign-in replays. Future sign-ins with the same provider replay the steps, pausing for credentials and captcha input.
Instructions
Record a login flow for future automatic replay (Level 3).
Opens a browser, injects an action recorder, and waits for the user to complete login manually (including 2FA, captcha, etc.). After login succeeds, the recorded steps are saved to the provider's config.
Future gv_sign_in calls with the same provider will replay these steps automatically — pausing only for credential fields (password, OTP) and captcha that can't be replayed.
Security: password/OTP values are NEVER recorded. Only the field selectors + credential_key are saved. Store actual credentials via gv_set_credentials.
When to use:
Complex login flows (multi-page, custom captcha, unusual 2FA)
Sites where the login form is hard to describe with login_steps
When you want to "teach" Ghostvault how to log in once, then automate
Args: account_id: The account id to use. provider: Override the provider. Defaults to the account's provider.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| provider | No | ||
| account_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |