Roboteka
Roboteka · Robots · Create a Drive folder

Create a Drive folder

The "Create a Drive folder" robot creates a folder inside the given Drive folder in Bitrix24 (Alaio) business processes and robots. If a folder with the same name already exists, by default its ID is returned instead of an error — a repeated process run does not break. It returns the folder ID, a Newly created flag, and Success Y/N.

The robot builds a Drive folder structure from a process: it takes the parent folder ID and the new folder name. The key detail is the duplicate behavior: by default (use) the robot returns the ID of an already existing folder with the same name, so re-running the process on the same deal does not fail; the error mode fails when the folder already exists. Typical use cases: open a deal folder like "1024 — Acme Ltd" on a stage change; create a "Contracts / Invoices / Acts" subfolder structure for a new client; prepare a folder for a site visit photo report. It returns the folder ID (created or found), the Newly created Y/N flag, and Success Y/N — pass the ID to the next robots to upload files.

What input parameters does the robot accept?

Parameter Type Required? Default
Parent folder ID int yes
Folder name string yes
If it already exists: use — return the existing one, error — fail (default use) string

What does the robot return?

Parameter Type
Folder ID int
Newly created (Y/N) string
Success (Y/N) string

Scenario: a deal folder on Drive

  1. A deal enters the In progress stage
  2. The robot creates a folder named after the deal inside the Clients folder
  3. The folder ID goes to the next robot — the deal files land in it

Related robots