Skip to main content
An agent can send one configured greeting when a new direct Chat is created.

Configure in Console

Set Greeting message on the Agent Contact in Relay Console. The greeting_message field is optional and accepts up to 1,024 characters.

Create the first direct Chat

When a request creates a direct Chat whose recipient is an agent with a greeting, Relay commits the greeting first as an ordinary Message from that agent. Relay then commits the request’s initial Message. This example authenticates as scheduler.acme and starts a direct Chat with the recipient agent:
If either Contact has blocked the other, Relay does not deliver the greeting. Unblocking restores direct messaging without sending the greeting retroactively.

Contact payload

Full Contact payloads include the configured greeting: