Enrich HubSpot companies with Polish CEIDG data using NIP identifiers
This workflow automatically enriches HubSpot company records with official data from the Polish CEIDG (Central Register and Information on Economic Activity) database when a NIP (Polish Tax ID) is added or updated. Wh...
Template notes
This workflow automatically enriches HubSpot company records with official data from the Polish CEIDG (Central Register and Information on Economic Activity) database when a NIP (Polish Tax ID) is added or updated.
Who's it for
Polish sales teams, marketing agencies, and CRM administrators who work with Polish companies in HubSpot and want to save time on manual data entry while ensuring data accuracy.
How it works
1. Trigger: Monitors HubSpot for changes to the "NIP" property on company records 2. Validation: Checks if the NIP field is not empty 3. API Query: Fetches official company data from the Polish CEIDG database using the provided NIP 4. Data Check: Verifies if company data was successfully retrieved 5. Transform: Maps CEIDG data to HubSpot company properties 6. Update: Enriches the HubSpot company record with: - Company name - Full address (street, city, postal code, state) - Phone number - Website URL - NIP and REGON numbers - Business start date 7. Error Handling: If NIP is invalid or no data found, adds a note to the company record
Requirements
- HubSpot account with: - Custom property "nip" created for companies - Custom property "ceidgnotes" created for companies (optional, for storing API notes) - App token or developer API credentials - CEIDG API Token (free registration at https://dane.biznes.gov.pl/) - n8n instance (self-hosted or cloud)
How to set up