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