Kokopelli ADTK Convert icon

Kokopelli ADTK Convert

Converte payloads da ADTK para schema canonico: gateways de venda (Hotmart, Guru, Eduzz, Virtu, Greenn, TMB, Kiwify) e eventos do GTM.

Converter Gateway

AI-generated

Summary

Converts an incoming purchase webhook into a normalized gateway record, auto-detecting Eduzz, Greenn, Guru, Hotmart, Kiwify, TMB, or Virtu when Plataforma is set to Auto-Detectar. The output contains normalized purchase fields and items; it can also retain the raw payload, serialize items as JSON, or omit selected fields.

Inputs

  • Plataforma — Choose the source platform, or Auto-Detectar (default) to identify it from the JSON structure. A manually selected platform is still checked against recognized payload signatures; a mismatch with another supported platform raises an error.
  • Itens Como JSON — Default false. When enabled, outputs itens as a JSON string instead of an array, for use with PostgreSQL JSON/JSONB columns.
  • Campos A Excluir — Default empty. Remove selected normalized output fields after item serialization; fields can be omitted to match destination table columns.
  • Manter Payload Original — Default false. When enabled, adds the raw incoming payload under _original.

Output shape

A single normalized purchase record per input item, with fields omitted when empty; includes itens as an array by default.

Values are converted to text recursively, including nested item values. Itens Como JSON changes itens to a JSON string. Campos A Excluir is applied afterward. Platform mapping may leave unsupported or unavailable normalized fields absent.

Links

Discussion