This action posts a message to a specified feed, such as a Chatter group or a case
record. The message can contain mentions and topics, but only text posts are supported.
Required Editions
In Flow Builder, add an Action element to your flow. In the Action field, enter
Chatter, and select Post to Chatter.
Set Input Values
Use values from earlier in the flow to set the inputs
for the Chatter post.
| Input Parameter |
Description |
| Message |
The text that you want to post.
- To mention a user or group, enter
@[reference], where
reference is the ID for the user or group that you want to
mention. The reference can be a literal value, a merge field, or a flow
resource. For example:
@[{!UserId}].
- To add a topic, enter #[string],
where string is the topic that you want to add. For example:
#[Action Required].
This parameter accepts single-value resources of any type. That value is
treated as plain text and is limited to 10,000 characters.
|
| Target Name or ID |
Reference to the user, Chatter group, or record whose feed you want to post to.
- To post to a user’s feed, enter the user’s ID or username. For example:
jsmith@salesforce.com
- To post to a Chatter group, enter the group’s name or ID. For example:
Entire Organization
- To post to a record, enter the record’s ID. For example:
001D000000JWBDx
This parameter accepts single-value resources of any type. That value is
treated as text.
|
| Community ID |
ID of an Experience Cloud site to post to.
Valid only if Digital Experiences
is enabled. Required if posting to a user or Chatter group that belongs to an
Experience Cloud site.
This parameter accepts single-value resources of any
type. That value is treated as text.
|
| Target Type |
Required only if Target Name or ID is set to a username or
a Chatter group name.
The type of feed that you want to post to. Valid values
are:
- User—If Target Name or ID is set
to a user’s username, enter this value.
- Group—If Target Name or ID is set
to a Chatter group’s name, enter this value.
|
| Visibility |
Specifies whether this feed item is available to Experience Cloud site users.
To display this feed item only to internal users, set it to
internalUsers.
Valid only if Digital Experiences is
enabled. Valid values are:
|
Store Output Values
To use the Chatter post’s ID later in the flow, store
it in a variable. The values are assigned when the Chatter post is created.
| Output Parameter |
Description |
| Feed Item ID |
Assigns the created post’s ID to a resource in the flow.
This parameter
accepts any single-value variables of type Text, Picklist, or Multi-Select
Picklist.
|
Usage
At run time, the Chatter post isn’t created until the interview’s transaction completes.
Transactions are complete when the interview either finishes or runs a Screen, Local Action,
or Wait element.