Element details
type: meya.salesforce.knowledge.component.article.get
class: SalesforceKnowledgeGetArticleComponent
path: /meya/salesforce/knowledge/component/article/get.py
signature: -
Fields
field | description | required | signature | default | type |
---|---|---|---|---|---|
spec | Override the original spec for this element. | ○ | ○ | null | Spec |
context | Send context data with this component's event. | ○ | ○ | {} | dict |
sensitive | ○ | ○ | true | bool | |
triggers | Activate these dynamic triggers when the component runs. Check the component triggers guide for more info. | ○ | ○ | [] | list |
article_id | The unique ID of the Salesforce Knowledge article you would like to get. | ◉ | ○ | str | |
locale | The locale of the article you would like to get. Usually you would set this to the user's locale stored in user scope. | ○ | ○ | "en-US" | str |
integration | ◉ | ○ | SalesforceKnowledgeIntegrationRef | ||
Usage reference
Basic
triggers:
- keyword: meya.salesforce.knowledge.component.article.get
steps:
- type: meya.salesforce.knowledge.component.article.get
article_id: STRING
integration: integration.salesforce_knowledge
Full
triggers:
- keyword: meya.salesforce.knowledge.component.article.get
steps:
- type: meya.salesforce.knowledge.component.article.get
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
article_id: STRING
locale: STRING
integration: integration.salesforce_knowledge