awsTextract.json•1.67 kB
{
"nodeType": "n8n-nodes-base.awsTextract",
"displayName": "AWS Textract",
"description": "Sends data to Amazon Textract",
"version": 1,
"properties": [
{
"name": "operation",
"displayName": "Operation",
"type": "options",
"default": "analyzeExpense",
"options": [
{
"name": "Analyze Receipt or Invoice",
"value": "analyzeExpense"
}
]
},
{
"name": "binaryPropertyName",
"displayName": "Input Data Field Name",
"type": "string",
"default": "data",
"description": "The name of the input field containing the binary file data to be uploaded. Supported file types: PNG, JPEG.",
"required": true,
"displayOptions": {
"show": {
"operation": [
"analyzeExpense"
]
}
}
},
{
"name": "simple",
"displayName": "Simplify",
"type": "boolean",
"default": true,
"description": "Whether to return a simplified version of the response instead of the raw data",
"displayOptions": {
"show": {
"operation": [
"analyzeExpense"
]
}
}
}
],
"credentialsConfig": [
{
"name": "aws",
"required": true
},
{
"name": "operation",
"required": false
},
{
"name": "binaryPropertyName",
"required": true
}
],
"io": {
"inputs": [],
"outputs": [],
"outputNames": [],
"hints": {}
},
"wiring": {
"role": "generic",
"requires": [],
"optional": [],
"consumedBy": [],
"consumes": [],
"produces": []
}
}