Back to Templates
This subworkflow is ideal for developers and automation builders working with UniPile and n8n to automate message enrichment and LinkedIn lead routing.
UniPile separates personal and organization accounts into two different API endpoints. This flow handles both intelligently so you're not missing sender context due to API quirks or bad assumptions.
This subworkflow is used by:
It receives a message sender ID and tries to enrich it using UniPile's /people
and /organizations
endpoints. It returns a clean, consistent profile object regardless of which source was used.