Skip to product information

Krayin CRM Lead Sync from External Purchase Data (n8n Workflow)

Krayin CRM Lead Sync from External Purchase Data (n8n Workflow)

 (200+Reviews)
Regular price £36.99
Regular price £36.99 Sale price
SAVE Sold out
⬇
Instant Digital Download
∞
Unlimited Downloads
★
Lifetime Access in Your Account
🔥
128+ Sold
Popular with n8n builders
âš¡
23 people viewing
High interest right now
✅
9 added today
Fast-moving digital product
Krayin CRM Lead Sync from External Purchase Data (n8n Workflow)

Krayin CRM Lead Sync from External Purchase Data (n8n Workflow)

Regular price £36.99
Regular price £36.99 Sale price
SAVE Sold out

Krayin CRM Lead Sync: Automatically push external lead + purchase events into the right pipeline and stage

This n8n workflow receives lead and purchase data from another automation, finds (or creates) the contact in Krayin CRM, and then creates or updates the corresponding lead—placing it in the correct pipeline (Funil) and stage (Stage) with the related product and transaction details.

What this workflow does

  • Receives lead details (name, email, phone, product, value, pipeline, stage, offer code, transaction ID, and status) from another n8n workflow.
  • Resolves the target pipeline + stage by matching the incoming pipeline name (Funil) and stage name (Stage) to existing records in Krayin CRM.
  • Finds or creates a contact in Krayin CRM using the customer’s email.
  • Finds an existing lead for that contact within the selected pipeline.
  • Checks for the incoming product SKU: if the existing lead already includes the incoming product, it updates the lead to a fixed stage ID (hard-coded as 19).
  • Otherwise adds/updates the product on the lead:
    • Fetches the product in Krayin CRM by offer code (Oferta_code).
    • Creates a new lead (or updates the existing one) to attach the product.
    • Sets lead custom attributes including hotmart_status and hotmart_transaction_id.

Use cases

  • Sync Hotmart-style purchase events into Krayin CRM so sales teams see the correct product + transaction details on the lead.
  • Keep leads up to date when the same customer purchases an additional SKU (update stage if the product already exists).
  • Route leads automatically to the intended pipeline/stage using the pipeline and stage names provided by your upstream workflow.

Technical details

  • Krayin CRM credential + API access for lead/contact lookup and lead updates.
  • c u s t o mkrayin node(s) for Krayin CRM operations.
  • if logic to decide whether to update stage vs. add/create the product on the lead.
  • execute workflow trigger to receive the external lead/purchase payload from another n8n workflow.

Setup notes: Ensure the incoming Funil and Stage names match Krayin CRM records, verify Oferta_code maps to a Krayin product, confirm the custom attribute codes hotmart_status and hotmart_transaction_id exist on leads, and update the hard-coded stage ID (19) to your environment.

View full details