coda.json•7.42 kB
{
"nodeType": "n8n-nodes-base.coda",
"displayName": "Coda",
"description": "Consume Coda API",
"version": [
1,
1.1
],
"properties": [
{
"name": "docId",
"displayName": "Doc Name or ID",
"type": "options",
"default": "",
"description": "ID of the doc. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
"required": true,
"displayOptions": {
"show": {
"resource": [
"control"
],
"operation": [
"get"
]
}
}
},
{
"name": "controlId",
"displayName": "Control ID",
"type": "string",
"default": "",
"description": "The control to get the row from",
"required": true,
"displayOptions": {
"show": {
"resource": [
"control"
],
"operation": [
"get"
]
}
}
},
{
"name": "returnAll",
"displayName": "Return All",
"type": "boolean",
"default": false,
"description": "Whether to return all results or only up to a given limit",
"displayOptions": {
"show": {
"resource": [
"control"
],
"operation": [
"getAll"
]
}
}
},
{
"name": "limit",
"displayName": "Limit",
"type": "number",
"default": 50,
"description": "Max number of results to return",
"typeOptions": {
"minValue": 1,
"maxValue": 100
},
"displayOptions": {
"show": {
"resource": [
"control"
],
"operation": [
"getAll"
],
"returnAll": [
false
]
}
}
},
{
"name": "operation",
"displayName": "Operation",
"type": "options",
"default": "get",
"description": "Get a control",
"options": [
{
"name": "Get",
"value": "get",
"description": "Get a control"
},
{
"name": "Get Many",
"value": "getAll",
"description": "Get many controls"
}
],
"displayOptions": {
"show": {
"resource": [
"control"
]
}
}
},
{
"name": "formulaId",
"displayName": "Formula ID",
"type": "string",
"default": "",
"description": "The formula to get the row from",
"required": true,
"displayOptions": {
"show": {
"resource": [
"formula"
],
"operation": [
"get"
]
}
}
},
{
"name": "tableId",
"displayName": "Table Name or ID",
"type": "options",
"default": "",
"description": "The table to create the row in. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
"required": true,
"displayOptions": {
"show": {
"resource": [
"table"
],
"operation": [
"createRow"
]
}
}
},
{
"name": "options",
"displayName": "Options",
"type": "collection",
"default": {},
"description": "Whether the API will not attempt to parse the data in any way",
"placeholder": "Add option",
"options": [
{
"name": "disableParsing",
"displayName": "Disable Parsing",
"type": "boolean",
"default": false,
"description": "Whether the API will not attempt to parse the data in any way"
},
{
"name": "keyColumns",
"displayName": "Key Columns",
"type": "string",
"default": "",
"description": "Optional column IDs, URLs, or names (fragile and discouraged), specifying columns to be used as upsert keys. If more than one separate by a comma (,)."
}
],
"displayOptions": {
"show": {
"resource": [
"table"
],
"operation": [
"createRow"
]
}
}
},
{
"name": "rowId",
"displayName": "Row ID",
"type": "string",
"default": "",
"description": "ID or name of the row. Names are discouraged because they're easily prone to being changed by users. If you're using a name, be sure to URI-encode it. If there are multiple rows with the same value in the identifying column, an arbitrary one will be selected",
"required": true,
"displayOptions": {
"show": {
"resource": [
"table"
],
"operation": [
"getRow"
]
}
}
},
{
"name": "columnId",
"displayName": "Column 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": {
"resource": [
"table"
],
"operation": [
"pushButton"
]
}
}
},
{
"name": "viewId",
"displayName": "View ID",
"type": "string",
"default": "",
"description": "The view to get the row from",
"required": true,
"displayOptions": {
"show": {
"resource": [
"view"
],
"operation": [
"get"
]
}
}
},
{
"name": "keyName",
"displayName": "Key Name",
"type": "string",
"default": "columns",
"description": "The view to get the row from",
"required": true,
"displayOptions": {
"show": {
"resource": [
"view"
],
"operation": [
"updateViewRow"
]
}
}
},
{
"name": "resource",
"displayName": "Resource",
"type": "options",
"default": "table",
"description": "Controls provide a user-friendly way to input a value that can affect other parts of the doc",
"options": [
{
"name": "Control",
"value": "control",
"description": "Controls provide a user-friendly way to input a value that can affect other parts of the doc"
},
{
"name": "Formula",
"value": "formula",
"description": "Formulas can be great for performing one-off computations"
},
{
"name": "Table",
"value": "table",
"description": "Access data of tables in documents"
},
{
"name": "View",
"value": "view",
"description": "Access data of views in documents"
}
]
}
],
"credentialsConfig": [
{
"name": "codaApi",
"required": true
},
{
"name": "resource",
"required": false
}
],
"io": {
"inputs": [],
"outputs": [],
"outputNames": [],
"hints": {}
},
"wiring": {
"role": "generic",
"requires": [],
"optional": [],
"consumedBy": [],
"consumes": [],
"produces": []
}
}