Clonar um funil
Changed onCria uma cópia do funil com toda a configuração — etapas, checklists, restrições, etiquetas, status, anexos, automações, assistentes, modelos de configurações de visualização, permissões e templates de projeto (sem trazer os projetos reais). Sem name, a cópia recebe o nome do original seguido de (Clone). Funis arquivados não podem ser clonados.
O que clonar: cada categoria pode ser desligada individualmente pelas flags booleanas do corpo. Flag omitida ou null equivale a true, então uma chamada sem flags clona tudo.
Dependências forçadas: algumas categorias são ligadas automaticamente quando outra depende delas. Se automations, step_restrictions ou funnel_step_blockings estiver true, então funnel_tags e funnel_statuses viram true mesmo que enviados como false. Se automations estiver true, step_assistants também vira true. Ou seja, desligar etiquetas/status só tem efeito quando os três primeiros estão false.
O funil, as etapas, os vínculos de formulário e a área de negócio são sempre clonados e não têm flag. Formulários, agentes de IA e áreas de negócio são reaproveitados (não duplicados).
Request
- Base URL: https://api.olie.ai
- URL: https://api.olie.ai/api/management/clone-funnel
- Auth: HTTP bearer
Request body
Response
Sucesso
Changes
- breaking
the request property
became not nullable - breaking
the request property
became not nullable - breaking
the request property
became not nullable - breaking
the request property
became not nullable - breaking
the request property
became not nullable - breaking
the request property
became not nullable - breaking
the request property
became not nullable - breaking
the request property
became not nullable - breaking
the request property
became not nullable - breaking
the request property
became not nullable - breaking
the request property
became not nullable - breaking
the request property
became not nullable
- breaking
- warning
the
request property's maxLength was set to255 - warning
added the new
cant_clone_archived_project_funnelenum value to theresponse property for the response status - warning
added the new
funnel_clone_missing_funnelenum value to theresponse property for the response status - warning
added the new
funnel_clone_partial_failureenum value to theresponse property for the response status - warning
added the new
validation_errorsenum value to theresponse property for the response status - info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- warning