salesforce.knowledge

Element details

type: meya.salesforce.knowledge.trigger
class: SalesforceKnowledgeTrigger
path: /meya/salesforce/knowledge/trigger/trigger.py
signature: expect

Fields

fielddescription               requiredsignaturedefaulttype
specOverride the original spec for this element.nullSpec
localeThe locale of the articles to be retrieved. Usually this should be set to the user's locale."en-US"str
page_sizeThe maximum number of returned articles to be returned.nullint
page_numberThe specific page number to retrieve when a search query is broken up into multiple pages of articles. This allows you to page through the list of articles.nullint
channelGives the possibility to select different scopes depending on the situation.nullSalesforceKnowledgeChannel
orderArticles ordering, 'ASC' or 'DESC'.nullSalesforceKnowledgeOrder
sortArticles sort.nullSalesforceKnowledgeSort
article_body_field_nameThis is the specific field name you set in Salesforce to contain the body of an article. When this is set, the api will automatically fetch all body content for a list of articles in a search result. However, if it's not defined then the api will NOT fetch the article body content.nullstr
integrationSalesforceKnowledgeIntegrationRef
botBot used to evaluate this trigger.nullBotRef
actionAction executed if this trigger matches. Check the trigger action guide for more info.TriggerActionEntry
ActionComponentSpec
whenCustom condition for when to evaluate this trigger. Check the trigger when guide for more info.typing.Any
confidenceOverride the default confidence with a custom value for trigger matches.nullReal
expectnullExpect

Usage reference

Basic

triggers:
  - integration: integration.salesforce_knowledge
    when: ANY
    expect: salesforce_knowledge
steps:
  - say: STRING

Full

type: meya.salesforce.knowledge.trigger
spec:
  type: STRING
  data:
    STRING: ANY
  timeout: 123
  trigger_when: ANY
locale: STRING
page_size: 123
page_number: 123
channel: App|Pkb|Csp|Prm
order: ASC|DESC
sort: LastPublishedDate|CreatedDate|Title|ViewScore
article_body_field_name: STRING
integration: integration.salesforce_knowledge
bot: element.name
action: COMPONENT
when: ANY
confidence: 123
expect: salesforce_knowledge