- Home
- Integrations
- Yandex Disk
Yandex Disk automation: upload from a link, folders and public links
Yandex Disk automation in nana800 saves files from a link, creates folders, lists folders, returns download links and public links, with no code. All you need is a Yandex OAuth token, which you get at oauth.yandex.ru after creating your own app. Each operation costs $0.002, and your balance is topped up to $3.50 for free every month.
Build it in the builder- Block run: $0.002
- Free every month: $3.50
- No card needed
What you can do
- Save files from a link to the Disk: documents, photos and reports, Yandex downloads them itself
- Create folders, for example one per customer, order or month
- List a folder with name, path, type, size and modification date, up to 1000 items at a time
- Get a temporary download link for a file
- Publish a file or folder and pass the public link on, for example to a customer in Telegram
- Delete files and folders to the Trash or for good
- Check whether the upload of a large file has finished
Blocks in the builder
Yandex Disk files and folders
Action · $0.002 per run
Seven operations: upload_from_url, list_folder, get_download_link, publish, create_folder, delete and get_operation_status. Paths are written like in a file manager, for example /Reports/report.pdf.
How to set it up
- 1
Create an app at oauth.yandex.ru
Sign in at oauth.yandex.ru with the account whose Disk you need and create an app. Choose the Web services platform, press the debug address button in the Callback URI field and add the Yandex Disk rights to write anywhere on the Disk and to read the whole Disk. Copy the ClientID.
- 2
Get the OAuth token
Open the Yandex authorization address with your ClientID (the exact address is in the block instructions) and allow access. Yandex shows the token, which usually starts with y0_. The token can read and change your files, so keep it private.
- 3
Add the Yandex Disk block
Create a scheme, add the button trigger and the Yandex Disk block. Paste the token, choose upload_from_url, put the file address into the file link field and the full path with a name into the Disk path field, for example /Reports/report.pdf. The /Reports folder must already exist.
- 4
Turn the scheme on and check the upload
Turn the scheme on and press the button trigger. If operation_status is success, the file is already on the Disk. If it is in-progress, a large file is still downloading: check it later with the get_operation_status operation and the number from operation_id.
- 5
Add the working trigger
Replace the button with a working trigger, for example webhook with leads that contain file links, and keep the scheme on. While the scheme is on, it costs $0.0042 per hour.
Frequently asked questions
Build your first scheme for free
Sign-up is free and needs no card. Every month the balance is topped up to $3.50 for free, enough for about 3,500 runs of basic blocks.
Build it in the builder