phantombuster.json•4.68 kB
{
"nodeType": "n8n-nodes-base.phantombuster",
"displayName": "Phantombuster",
"description": "Consume Phantombuster API",
"version": 1,
"properties": [
{
"name": "agentId",
"displayName": "Agent Name or ID",
"type": "options",
"default": "",
"description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
"required": true,
"displayOptions": {
"show": {
"operation": [
"delete"
],
"resource": [
"agent"
]
}
}
},
{
"name": "returnAll",
"displayName": "Return All",
"type": "boolean",
"default": false,
"description": "Whether to return all results or only up to a given limit",
"displayOptions": {
"show": {
"operation": [
"getAll"
],
"resource": [
"agent"
]
}
}
},
{
"name": "limit",
"displayName": "Limit",
"type": "number",
"default": 25,
"description": "Max number of results to return",
"typeOptions": {
"minValue": 1,
"maxValue": 50
},
"displayOptions": {
"show": {
"operation": [
"getAll"
],
"resource": [
"agent"
],
"returnAll": [
false
]
}
}
},
{
"name": "resolveData",
"displayName": "Resolve Data",
"type": "boolean",
"default": true,
"description": "By default the outpout is presented as string. If this option gets activated, it will resolve the data automatically.",
"displayOptions": {
"show": {
"operation": [
"getOutput"
],
"resource": [
"agent"
]
}
}
},
{
"name": "additionalFields",
"displayName": "Additional Fields",
"type": "collection",
"default": {},
"description": "If set, the output will be retrieved from the container after the specified previous container ID",
"placeholder": "Add Field",
"options": [
{
"name": "prevContainerId",
"displayName": "Prev Container ID",
"type": "string",
"default": "",
"description": "If set, the output will be retrieved from the container after the specified previous container ID"
}
],
"displayOptions": {
"show": {
"resource": [
"agent"
],
"operation": [
"getOutput"
]
}
}
},
{
"name": "jsonParameters",
"displayName": "JSON Parameters",
"type": "boolean",
"default": false,
"displayOptions": {
"show": {
"operation": [
"launch"
],
"resource": [
"agent"
]
}
}
},
{
"name": "operation",
"displayName": "Operation",
"type": "options",
"default": "launch",
"description": "Delete an agent by ID",
"options": [
{
"name": "Delete",
"value": "delete",
"description": "Delete an agent by ID"
},
{
"name": "Get",
"value": "get",
"description": "Get an agent by ID"
},
{
"name": "Get Many",
"value": "getAll",
"description": "Get many agents of the current user's organization"
},
{
"name": "Get Output",
"value": "getOutput",
"description": "Get the output of the most recent container of an agent"
},
{
"name": "Launch",
"value": "launch",
"description": "Add an agent to the launch queue"
}
],
"displayOptions": {
"show": {
"resource": [
"agent"
]
}
}
},
{
"name": "resource",
"displayName": "Resource",
"type": "options",
"default": "agent",
"options": [
{
"name": "Agent",
"value": "agent"
}
]
}
],
"credentialsConfig": [
{
"name": "phantombusterApi",
"required": true
},
{
"name": "resource",
"required": false
}
],
"io": {
"inputs": [],
"outputs": [],
"outputNames": [],
"hints": {}
},
"wiring": {
"role": "generic",
"requires": [],
"optional": [],
"consumedBy": [],
"consumes": [],
"produces": []
}
}