n8n Workflow

Detect And Store The Information About A Purchase Using The Image Of A Receipt

This n8n workflow automates tasks and integrates with various services. Detect And Store The Information About A Purchase Using The Image Of A Receipt - ready to import and run in your n8n instance.

n8n workflow.json

About This Script

This n8n workflow automates tasks and integrates with various services. Detect And Store The Information About A Purchase Using The Image Of A Receipt - ready to import and run in your n8n instance.
Features:
  • Receives webhook events
Source Code
{
    "nodes": [
        {
            "name": "Webhook",
            "type": "n8n-nodes-base.webhook",
            "position": [
                450,
                300
            ],
            "webhookId": "39f1b81f-f538-4b94-8788-29180d5e4016",
            "parameters": {
                "path": "39f1b81f-f538-4b94-8788-29180d5e4016",
                "options": {
                    "binaryData": true
                },
                "httpMethod": "POST",
                "responseData": "allEntries",
                "responseMode": "lastNode",
                "authentication": "headerAuth"
            },
            "credentials": {
                "httpHeaderAuth": "Webhook Workflow Credentials"
            },
            "typeVersion": 1,
            "id": "731d7539-258a-41fc-ac96-987825355113"
        },
        {
            "name": "Mindee",
            "type": "n8n-nodes-base.mindee",
            "position": [
                650,
                300
            ],
            "parameters": {
                "binaryPropertyName": "receipt"
            },
            "credentials": {
                "mindeeReceiptApi": "expense-tracker"
            },
            "typeVersion": 1,
            "id": "dc6f362f-f019-42c2-b2f2-6b1fd4a96176"
        },
        {
            "name": "Airtable",
            "type": "n8n-nodes-base.airtable",
            "position": [
                850,
                300
            ],
            "parameters": {
                "table": "Receipt",
                "fields": [
                    "category",
                    "date",
                    "currency",
                    "locale",
                    "merchant",
                    "time",
                    "total"
                ],
                "options": [],
                "operation": "append",
                "application": "appThOr4e97XjXcDu",
                "addAllFields": false
            },
            "credentials": {
                "airtableApi": "Airtable Credentials n8n"
            },
            "typeVersion": 1,
            "id": "4bd415a0-5a84-4ee5-ba10-82be388ccf08"
        },
        {
            "name": "Set",
            "type": "n8n-nodes-base.set",
            "position": [
                1050,
                300
            ],
            "parameters": {
                "values": {
                    "string": [
                        {
                            "name": "data",
                            "value": "={{$json[\"fields\"]}}"
                        },
                        {
                            "name": "message",
                            "value": "=You spent {{$json[\"fields\"][\"currency\"]}} {{$json[\"fields\"][\"total\"]}} on {{$json[\"fields\"][\"category\"]}} at {{$json[\"fields\"][\"merchant\"]}} on {{$json[\"fields\"][\"date\"]}} at {{$json[\"fields\"][\"time\"]}}"
                        }
                    ]
                },
                "options": [],
                "keepOnlySet": true
            },
            "typeVersion": 1,
            "id": "5566aeea-16db-4c9a-a35a-dad158f3dd69"
        }
    ],
    "connections": {
        "Mindee": {
            "main": [
                [
                    {
                        "node": "Airtable",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        },
        "Webhook": {
            "main": [
                [
                    {
                        "node": "Mindee",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        },
        "Airtable": {
            "main": [
                [
                    {
                        "node": "Set",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        }
    },
    "n8n_version": "1.5.0"
}
Requirements
n8n instance, Airtable API credentials
Tags
#n8n #automation #workflow
Quick Actions
More in n8n Workflows