Datacrazy Automações icon

Datacrazy Automações

Utilitários de automação para fluxos com o Datacrazy CRM

Actions22

⚡ Contexto de Mensagem Referenciada → Buscar Contexto de Mensagem Referenciada

AI-generated

Summary

Retrieve the context data of a referenced message within a Datacrazy conversation.

Inputs

  • ID da Conversa (required) — The Datacrazy conversation ID (messageData_conversationId) to identify the conversation.
  • Context ID (ID da mensagem referenciada) (required) — The context_id from the payload, representing the referenced message ID; leave empty if the message is not a reply.
  • Tipo da Mensagem (required) — The type of the received message, such as text, audio, image, video, document, or file (UAZAP file). This affects how the MessageLead is formatted. Defaults to 'auto' which sends the text as is without specific formatting.
  • Data/Hora da Mensagem — ISO date/time of the message (messageData_date), used to locate the correct message in the conversation history.
  • Texto da Transcrição de Áudio — If an audio transcription is already available, paste it here; otherwise leave empty. Only applies when Tipo da Mensagem is 'Áudio'.

Output shape

a single record containing the detailed context of the referenced message in the conversation, formatted according to the message type and provided transcription if applicable

Requires the conversation ID and the referenced message's context ID to locate the message. The message date/time and audio transcription fields are optional but can help refine the message retrieval and formatting. Returns an object with the referenced message context suitable for further processing in workflows.

Links

Discussion