Skip to main content
S

Srinivasan KB

2
Workflows

Workflows by Srinivasan KB

Workflow preview: Create an offline DIGIPIN microservice API for precise location mapping in India
Free intermediate

Create an offline DIGIPIN microservice API for precise location mapping in India

*This workflow contains community nodes that are only compatible with the self-hosted version of n8n.* **What is DIGIPIN?** DIGIPIN (Digital Pincode) is a 10-character alphanumeric code introduced by India Post. It maps any 3x3 meter square in India to a unique digital address. This helps precisely locate homes, shops, or landmarks, especially in areas where physical addresses are inconsistent or missing. **What this workflow does** This workflow creates a fully offline DIGIPIN microservice using only JavaScript - no external APIs are used. You get two HTTP endpoints: - GET /generate-digipin?lat={latitude}&lon={longitude} → returns a DIGIPIN - GET /decode-digipin?digipin={code} → returns the latitude and longitude You can plug this into any system to: - Convert GPS coordinates to a DIGIPIN - Convert a DIGIPIN back to coordinates **How it works** 1. An HTTP Webhook node receives the request 2. A JS Function node either encodes or decodes based on input 3. The result is returned as a JSON response All the logic is handled inside the workflow - no API keys, no external calls. **Why use this** - Fast and lightweight - Easily extendable: you can connect this to forms, CRMs, apps, or spreadsheets - Ideal for field agents, address validation, logistics, or rural operations

S
Srinivasan KB
Engineering
10 Jul 2025
188
0
Workflow preview: Image-based data extraction API using Gemini AI
Free intermediate

Image-based data extraction API using Gemini AI

This n8n workflow provides a ready-to-use API endpoint for extracting structured data from images. It processes an image URL using an AI-powered OCR model and returns the extracted details in a structured JSON format. ### **Use Cases** - **Document OCR** – Extract details from ID cards, invoices, receipts, etc. - **Text Extraction from Images** – Process screenshots, scanned documents, and photos. - **Automated Form Processing** – Digitize and capture information from paper forms. - **Business Card Data Extraction** – Extract names, emails, and phone numbers from business cards. ## How It Works 1. Send a GET request with an image URL and define the required extraction parameters. 2. The image is converted to base64 for processing. 3. The AI model (Gemini API - Flash Lite) extracts relevant text. 4. The response returns structured JSON data containing only the requested fields. ## Features ✔️ **No-Code API Setup** – Easily integrate into any application. ✔️ **Customizable Extraction** – Modify the request parameters to fit your needs. ✔️ **AI-Powered OCR** – Uses advanced models for accurate text recognition. ✔️ **Automated Processing** – Ideal for document processing and digitization. ## Integration - Works with any frontend/backend system that supports API calls. - Can be used for workflow automation in CRM, ERP, and document management solutions. - Supports further customization based on specific OCR requirements.

S
Srinivasan KB
Document Extraction
13 Mar 2025
5632
0