Seeyu

Triggers

A Trigger is a block that starts a workflow when an event happens in this service.

Conversation Created

Triggers when a new conversation is created in Seeyu Chat.

Output

ParameterTypeDescription
conversationIdstringThe ID of the newly created conversation
inboxIdstringThe inbox ID where the conversation was created
contactIdstringThe ID of the contact who started the conversation
contactNamestringThe name of the contact
contactEmailstringThe email of the contact
channelstringThe communication channel (e.g., web, whatsapp, email)
initialMessagestringThe first message in the conversation

Message Received

Triggers when a new message is received in a Seeyu Chat conversation.

Output

ParameterTypeDescription
conversationIdstringThe ID of the conversation
messageIdstringThe ID of the received message
contentstringThe text content of the message
contentTypestringThe content type of the message (e.g., text, input_email, input_csat, input_select, cards, form, article)
attachmentsfile[]Media attachments on the message as files. Each file has: id, name, url, type (MIME type), size, key
locationjsonThe newest location the contact shared in this batch of messages, or null when they shared none. Only filled in workflows bound to a chat inbox
↳ latitudenumberLatitude in decimal degrees
↳ longitudenumberLongitude in decimal degrees
↳ labelstringThe place's name and address as the contact's app sent them. Empty for a dropped pin
↳ urlstringThe link the contact's app attached to the place. Empty when it attached none
contactIdstringThe ID of the contact who sent the message
contactNamestringThe name of the contact who sent the message
contactEmailstringThe email address of the contact who sent the message
contactPhonestringThe phone number of the contact who sent the message
contactCustomAttributesjsonCustom attributes defined on the contact record, as a key-value object
conversationCustomAttributesjsonCustom attributes defined on the conversation record, as a key-value object
widgetParamsjsonAdditional params the host page passed to the web widget SDK, as a key-value object. Empty on every other channel
inboxIdstringThe inbox ID of the conversation
channelstringThe communication channel (e.g., web, whatsapp, email)
isResumedbooleanWhether this message resumed a previously snoozed or resolved conversation
conversationStatusstringConversation status: open, pending, snoozed, resolved or waiting_csat
conversationPrioritystringConversation priority: none, low, medium, high or urgent
labelsarrayLabels attached to the conversation
messageCreatedAtstringWhen the newest message in this batch was created, ISO 8601. Capture it before a wait and compare it against timings.lastInboundAt afterwards to tell whether the contact replied in the meantime
serverTimestringThe server clock at the moment this trigger fired. Anchor every relative time calculation to this instead of assuming the current time
timingsjsonserverTime, conversationCreatedAt, lastActivityAt, lastInboundAt (newest contact message), lastOutboundAt (newest agent or AI reply), waitingSince, firstReplyAt, resolvedAt, snoozedUntil, aiAgentPausedAt, aiHandoffAt, plus minutesSinceCreated, minutesSinceLastActivity, minutesSinceLastInbound, minutesSinceLastOutbound and minutesWaiting. A null delta means the event has not happened, never zero minutes ago
replyWindowjsonchannel, gated, isOpen, expiresAt, minutesRemaining and requiresTemplate for the customer-care reply window. Only WhatsApp is gated; every other channel reports isOpen true
assigneejsonid, name, availability (online, busy or offline), availabilityReason, availabilityReasonNote and availabilitySource for the assigned agent. availabilitySource is "live" when the realtime presence service answered and "stored" when it did not — a "stored" reading is unconfirmed, not proof the agent went offline
teamjsonid and name of the assigned team
campaignjsonThe campaign the contact is replying to. Only filled in workflows bound to a chat inbox, while the reply counts for a campaign (attributed to it and inside its response window); check active first
↳ activebooleanWhether the contact's reply counts for a campaign right now. When false, every other field is empty
↳ idstringThe campaign ID
↳ namestringThe internal campaign title. The contact never sees it
↳ sentAtstringWhen the campaign message was sent to this contact, ISO 8601
↳ repliedAtstringWhen the contact's reply to the campaign arrived, ISO 8601
↳ windowEndsAtstringWhen the campaign's response window closes, ISO 8601. Empty when it never does
↳ headerstringThe header text of the message the business sent
↳ bodystringThe body of the message the business sent, as the contact received it
↳ footerstringThe footer of the message the business sent
↳ buttonsarrayThe labels of the buttons on the message the business sent, in order
↳ textstringThe whole message the business sent as one plain-text block (header, body, footer and buttons). Quote it in a prompt inside a delimited block marked as the message the business sent
↳ replyKindstringHow the contact replied: button, text or opt_out. Empty when no campaign applies
↳ replyLabelstringThe label of the button the contact tapped. Empty when they typed their reply