csp.session.agent

Element details

type: meya.csp.component.session.agent
class: AgentRequestComponent
path: /meya/csp/component/session/agent/request.py
signature: -

Fields

fielddescription               requiredsignaturedefaulttype
specOverride the original spec for this element.○○nullSpec
contextSend context data with this component's event.○○{}dict
sensitiveMark this component's event as sensitive. This will encrypt the event if the Sensitive Data integration has been enabled.○○falsebool
triggersActivate these dynamic triggers when the component runs. Check the component triggers guide for more info.○○[]list
say○○nullstr
integration◉○CspIntegrationRef
note○○nullstr
timeout○○60int
timeout_flow○○nullstr
data○○nulldict

Usage reference

Basic

triggers:
  - keyword: meya.csp.component.session.agent
steps:
  - type: meya.csp.component.session.agent
    integration: integration.generic

Full

triggers:
  - keyword: meya.csp.component.session.agent
steps:
  - type: meya.csp.component.session.agent
    spec:
      type: STRING
      data:
        STRING: ANY
      timeout: 123
      trigger_when: ANY
    context:
      STRING: ANY
    sensitive: false
    triggers:
      - type: STRING
        data:
          STRING: ANY
        timeout: 123
        trigger_when: ANY
    say: STRING
    integration: integration.generic
    note: STRING
    timeout: 123
    timeout_flow: STRING
    data:
      foo: bar