Step · Workflow and files
Create folder
Creates a folder on a record, or reuses one with the same name.
Inputs
| Label | Key | Type | Required | Notes |
|---|---|---|---|---|
| Record | record | Record | Yes | |
| Folder name | name | Text | Yes | Help text: “Type a name or wire variables into it. Running the step again with the same name reuses the existing folder.” |
| Storage provider | storage_provider | Choice: Attio | Yes | Attio is the only option. Variables cannot be wired. |
Outputs
| Label | Key | Type | Always set | Notes |
|---|---|---|---|---|
| Folder ID | folder_id | Text | Yes | |
| Newly created | was_created | True/false | Yes | False when an existing folder was reused. |
How it behaves
- The name has runs of whitespace (including line breaks) collapsed to one space and is trimmed.
- Lists the record’s files first. A top-level folder with the same name (case-insensitive, trimmed) is reused; otherwise a new top-level folder is created.
- Uses Attio’s Files API, which Attio marks as beta.
Limits and constraints
- Folder name: names longer than 255 characters (counted as Unicode code points) are cut to 255 without an error. The cap is the app’s, not Attio’s.
- Checks at most 2,000 file entries on the record (50 per page, 40 pages).
Errors
Fails when
- No record:
Pick a record (or wire a record variable). - Empty name:
Folder name is empty. Check the value wired into Folder name. - Other provider:
Storage provider "<x>" is not supported yet. Choose Attio. - Over 2,000 entries: an error that says the record has more than 2000 file entries, too many to verify whether the folder already exists, and to create the folder from the record’s Files panel instead (not retryable).
For errors that every step can return, see Troubleshooting.
Notes
- Cannot create nested folders, create folders in other storage providers, or upload files.
Example
Create a diligence folder on each new deal, without duplicating it on reruns.
| Input | Value |
|---|---|
| Record | Acme Renewal (deals) |
| Folder name | Diligence 2026 |
| Storage provider | Attio |
| Output | Value |
|---|---|
| Folder ID | a6b7c8d9-e0f1-4a2b-8c3d-4e5f6a7b8c9d |
| Newly created | false |
Newly created is false because a top-level folder named "diligence 2026" already existed; the match ignores case.