Get and install Electrum wallet from Electrum website
Create new wallet (select standard wallet with legacy addresses)
Open electrum, click top menu -> Wallet, then "Information" It is very important use xpub master key only! Do not use zpub master key!
Copy Master public key to script settings.
Create test user account and make deposit via Bitcoin to test your settings.
Setup Bitcoin API
Open electrum, click Addresses tab, find "Change" section.
Right click at one of those addresses and get Private Key
Copy this private key to script settings (auto withdraw section).
Type label for this address - for example (for auto withdraw)
Right click on this address and Freeze this address
Send some funds on this address, then script can use this address for auto withdraw