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.
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. - If the existing folder cannot be checked, create it from the record’s Files panel instead.
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.