Public link to a Drive file
The "Public link to a Drive file" robot obtains an external link to a Drive file by its ID in Bitrix24 (Alaio) business processes and robots. The link can be sent to a client or partner — opening it requires no portal access. It returns the link and a Success Y/N flag.
The robot turns an internal Drive file into a public link that anyone opens without logging into the portal — doing it by hand means opening Drive and publishing the file with a button. The only input is the Drive file ID (for example, from another robot output or a process field). Typical use cases: send a client a price list or a contract by email right from the process; put an instruction link into an SMS; hand a file to a contractor without granting portal access. If the file is not found or the ID is missing, Success = N is returned. It returns the public link and the Y/N flag — insert the link into an email or message in the next step of the business process.
What input parameters does the robot accept?
| Parameter | Type | Required? | Default |
|---|---|---|---|
| Drive file ID | int | yes |
What does the robot return?
| Parameter | Type |
|---|---|
| Public link | string |
| Success (Y/N) | string |
Scenario: a contract emailed to the client
- A deal enters the Approval stage
- The robot obtains a public link to the contract file on Drive
- The link goes into the client email — the client opens the contract without the portal