resource_types narrows the import to specific resource types already present in the archive. automation_pack_names, workflow_names, agent_pack_names, and agent_names narrow it further to specific resources by their exact name, since a parsed archive has no live IDs to pick from a dropdown. Leave them all empty to import everything the archive contains.
Basic Parameters
| Parameter | Description |
|---|---|
| Destination Workspace | Select the existing workspace to import into. |
| File Identifier | The identifier of the file to import. A file identifier represents a file created or referenced earlier in the workflow (for example, from the Export Workspace action or a file upload step). See Using with Files in Workflows for more details. |
| Resource Types | Select the whole resource types to import from the archive. Leave empty to import everything. Note: A type selected here is included in full - automation_pack_names, workflow_names, agent_pack_names, and agent_names have no additional narrowing effect on a type already selected here. |
Advanced Parameters
| Parameter | Description |
|---|---|
| Agent Names | A comma-separated list of exact agent names to import from the archive, along with their dependencies. Leave empty to not filter by agent. Note: Import matches by exact, case-sensitive name since a parsed archive has no live IDs yet - use the name as it appears in the source workspace. |
| Agent Pack Names | A comma-separated list of exact Agent Pack names to import from the archive, along with their dependencies. Leave empty to not filter by agent pack. Note: Import matches by exact, case-sensitive name since a parsed archive has no live IDs yet - use the name as it appears in the source workspace. |
| Disable Scheduled Workflows | When checked, imported scheduled workflows are created as inactive instead of running on their configured schedule. |
| Exclude Resource Types | Select the whole resource types to exclude from the import. Note: A type listed here cannot also be selected via resource_types, automation_pack_names, workflow_names, agent_pack_names, or agent_names - and the import fails, rather than silently dropping the resource, if something selected transitively depends on a resource of an excluded type. |
| Update Existing Resources | When checked, a resource matching an existing one (by natural key) is updated in place instead of failing on a creation collision. Note: Not supported for Tables, Observable Relation Types, Dedup Rules, Extraction Rules, or Investigation Questions - selecting one of those in resource_types together with this option fails validation rather than updating it in place. |
| Workflow Names | A comma-separated list of exact workflow names to import from the archive, along with their dependencies. Leave empty to not filter by workflow. Note: Import matches by exact, case-sensitive name since a parsed archive has no live IDs yet - use the name as it appears in the source workspace. |
| Workflow Pack Names | A comma-separated list of exact Workflow Pack names to import from the archive, along with their dependencies. Leave empty to not filter by pack. Note: Import matches by exact, case-sensitive name since a parsed archive has no live IDs yet - use the name as it appears in the source workspace. |
Example Output
{
"workspace_id": "3f6b9e2a-0000-0000-0000-000000000000",
"counts": {
"workflows": 2,
"automation_packs": 1
},
"resources": [
{
"type": "automation_packs",
"path": "workflows/acme-pack/pack.yaml",
"uuid": "3f6b9e2a-0000-0000-0000-000000000002",
"name": "acme-pack",
"outcome": "created"
},
{
"type": "workflows",
"path": "workflows/wf-a1.yaml",
"uuid": "3f6b9e2a-0000-0000-0000-000000000001",
"name": "wf-a1",
"outcome": "updated"
},
{
"type": "workflows",
"path": "workflows/wf-a2.yaml",
"uuid": "3f6b9e2a-0000-0000-0000-000000000003",
"name": "wf-a2",
"outcome": "created"
}
],
"warnings": []
}