kimsiaK
Windmill17mo ago
kimsia

Self hosted. how to use approval or input step to manually key in login credentials?

I want a script that will perform some actions in substack. The key part is that the script needs to login as me first.

I have looked at https://www.windmill.dev/docs/flows/flow_approval and there's such a thing as an approval step.

is it possible using chromium worker and then using an approval step for me to manually key in my login credentials (which includes 2FA) then performs additional step?

I am thinking like this:

input: url (or approval)

go_to_url script: it's a script to visit a login page for substack

input: username, password  (or approval)

fill_in_form script: fill in the login using the previous input

input: 2FA code  (or approval)

fill_in_form script: fill in the 2FA code

action script: extract the title of the page after redirected


i found this
hub/1541/http/send_get_request
step. can it act as the
go_to_url
script in my flow?

Or i need to use with selenoid or selenium? as in this eaxmple https://www.windmill.dev/blog/use-selenium-with-windmill
Flows can be suspended until resumed or canceled event(s) are received. This
We will look at how to use Windmill and Selenoid, and Selenium Wire for the
Was this page helpful?