salesforce.live_agent

Element details

type: meya.salesforce.live_agent.integration
class: LiveAgentIntegration
path: /meya/salesforce/live_agent/integration/integration.py
signature: -

Fields

field

description

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

required

signature

default

type

spec

Override the original spec for this element.

null

Spec

enabled

Enables the integration, allowing it to process events and HTTP/WS entries.

true

bool

filter

rx_sub: true
rx: true
tx: "\nmeya.event.entry.interactive\nOR meya.csp.event\nOR meya.button.event.click\n
OR meya.form.event.submit\nOR meya.presence.event.typing\n"
tx_pub: true

IntegrationFilter

verify_token

The token to be verified for each incoming request. You need to add the verify_token=YOUR_TOKEN query parameter to integration's webhook URL.

null

str

max_attachment_size

Controls maximum attachment size supported by the integration in bytes.

null

int

markdown

false

list
bool

typing

When set to false, all typing indicators received by the integration will be ignored.

true

bool

avatar

crop: circle

CspIntegrationAvatar

agent_command_prefix

"/"

str

transcript

count: 25
user_prefix: user
bot_prefix: bot
agent_prefix: agent
note_prefix: 📝

CspIntegrationTranscript

agent

name:
avatar:

AgentSpec

api_endpoint

str

organization_id

str

deployment_id

str

button_id

str

note_indicator

"📝"

str

Usage reference

Basic

type: meya.salesforce.live_agent.integration
api_endpoint: STRING
organization_id: STRING
deployment_id: STRING
button_id: STRING

Full

type: meya.salesforce.live_agent.integration
spec:
  type: STRING
  data:
    STRING: ANY
  timeout: 123
  trigger_when: ANY
enabled: false
filter:
  rx_sub: STRING
  rx: STRING
  tx: STRING
  tx_pub: STRING
verify_token: STRING
max_attachment_size: 123
markdown:
  - format|linkify|breaks|typographer
typing: false
avatar:
  crop: circle|square
agent_command_prefix: STRING
transcript:
  count: 123
  user_prefix: STRING
  bot_prefix: STRING
  agent_prefix: STRING
  note_prefix: STRING
agent:
  name: full|first|first_initial|first_last_initial|first_initial_last_initial
  avatar:
    image: STRING
    crop: circle|square
    monogram: full|first|first_initial|first_last_initial|first_initial_last_initial
api_endpoint: STRING
organization_id: STRING
deployment_id: STRING
button_id: STRING
note_indicator: STRING