# Generate and decode DIGIPIN from coordinates via webhooks for India logistics
This automation template converts GPS coordinates into DIGIPIN — a standardized 10-character alphanumeric location code used across India. It also supports reverse conversion from DIGIPIN back to latitude and longitude. All logic is implemented directly in n8n using embedded JavaScript, with no external API calls required.
## Who it´s for
- Developers integrating DIGIPIN into delivery applications
- Logistics companies operating with Indian addresses
- Government or municipal services using digital addressing
- Startups in the last-mile delivery space in India
## What the automation does
- Accepts latitude and longitude via HTTP request and generates the corresponding DIGIPIN
- Decodes a given DIGIPIN back into geographic coordinates
- Handles requests through two independent webhooks: `/generate-digipin` and `/decode-digipin`
- Implements accurate geocoding logic in JavaScript, aligned with India Post DIGIPIN standard
- Operates without reliance on third-party APIs or subscriptions
## What´s included
- Ready-to-use n8n workflow
- Dual webhook trigger logic for encoding and decoding
- Self-contained JavaScript implementation
- Integration limited to HTTP API (webhooks only)
- Basic text instructions for deployment and adaptation
## Requirements for setup
- n8n instance (self-hosted or cloud)
- Access to edit workflows
- Basic understanding of webhooks and node configuration in n8n
## Benefits and outcomes
- Simplifies address sharing in areas with poor addressing infrastructure
- Enables consistent digital address format across apps and systems
- Speeds up order processing in last-mile logistics
- Eliminates dependency on external geocoding services or paid APIs
- Ensures compliance with India’s official DIGIPIN addressing system
## Important: template only
Important: you are purchasing a ready-made automation workflow template only. Rollout into your infrastructure, connecting specific accounts and services, 1:1 setup help, custom adjustments for non-standard stacks and any consulting support are provided as a separate paid service at an individual rate. To discuss custom work or 1:1 help, contact via chat
No feedback yet