Automated BLE Beacon Mapping and Data Logging with n8n
detail.loadingPreview
This n8n workflow automates the process of mapping BLE beacons by receiving data via a Webhook, processing it with Langchain nodes, and storing it in a Google Sheet. It utilizes vector stores for efficient querying and retrieval of beacon information.
🚀Ready to Deploy This Workflow?
About This Workflow
Overview
This n8n workflow is designed to create a robust system for mapping and logging Bluetooth Low Energy (BLE) beacons. It leverages the power of n8n's webhook capabilities to receive incoming beacon data, then utilizes Langchain nodes for intelligent processing. The Splitter node breaks down incoming text, Embeddings node converts this data into numerical representations, and the vectorStorePinecone node (both for Insert and Query) manages the storage and retrieval of this information in a Pinecone vector database. The workflow also incorporates Memory and lmChatOpenAi for conversational AI capabilities, allowing for more dynamic interactions with the beacon data. Finally, a googleSheets node logs all processed information, providing a clear audit trail. This workflow solves the problem of manually tracking and analyzing BLE beacon data, offering an automated and scalable solution.
Key Features
- Real-time BLE beacon data ingestion via Webhook.
- Intelligent text processing and embedding using Langchain.
- Efficient storage and retrieval of beacon data in Pinecone vector database.
- Conversational AI capabilities for interaction with beacon data.
- Automated logging of all processed data into a Google Sheet.
How To Use
- Set up the Webhook: Configure the
Webhooknode to listen for incoming POST requests to the/ble_beacon_mapperpath. - Configure Langchain Nodes:
- Set up the
Splitternode to appropriately segment incoming text data. - Configure the
Embeddingsnode to use your preferred HuggingFace model. - Set up the
Insertnode for thevectorStorePineconeto index your beacon data. - Configure the
Querynode for thevectorStorePineconeto retrieve information. - Connect the
Toolnode to thevectorStorePineconequery. - Configure the
Memorynode for conversational context. - Set up the
Chatnode with your OpenAI API credentials. - Configure the
Agentnode with adefineprompt type and pass the incoming JSON.
- Set up the
- Google Sheets Integration: Authorize the
googleSheetsnode with your Google Sheets API credentials and specify the targetSHEET_IDandLogsheet name. - Trigger the Workflow: Send POST requests with BLE beacon data to your n8n webhook URL to initiate the mapping and logging process.
Apps Used
Workflow JSON
{
"id": "559595f0-d4c8-48da-ac40-171a44418e4a",
"name": "Automated BLE Beacon Mapping and Data Logging with n8n",
"nodes": 0,
"category": "IoT",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: 559595f0-d4c8...
About the Author
N8N_Community_Pick
Curator
Hand-picked high quality workflows from the global community.
Statistics
Verification Info
Related Workflows
Discover more workflows you might like
Remote IoT Sensor Monitoring via MQTT and InfluxDB
Automate the ingestion of remote IoT sensor data (temperature and humidity) from an ESP32 via MQTT into InfluxDB.
Vehicle Telematics Analyzer: Automating Data Ingestion and Analysis with Webhooks, Redis, and Langchain
This n8n workflow automates the analysis of vehicle telematics data. It uses a Webhook to receive data, Langchain's text splitter and OpenAI embeddings to process it, and Redis as a vector store for efficient querying and retrieval. The processed data is then logged to Google Sheets.