TestPostMessageSlackAction is used to input data for testing a post message Slack action.

Table: TestPostMessageSlackAction

ParameterTypeRequired[a]DefaultDescription
apiTokenstringyes The API token to authenticate with Slack."
channels[string]yes A list of Slack channels to message.
eventDatastringyes JSON data representing one or more events. One event can be supplied as a JSON object. Multiple events must be supplied as a list of JSON objects.
fields[SlackFieldEntryInput]yes Fields to include within the Slack message. Can be templated with values from the result. See SlackFieldEntryInput.
namestringyes The name of the action.
triggerNamestringyes The name of the action. This is a mock value; the trigger doesn't have to exist.
useProxybooleanyes Defines whether the action should use the configured proxy to make web requests.
viewNamestringyes The name of the view of the action.

[a] Some arguments may be required, as indicated in this column. For some fields, this column indicates that a result will always be returned for it.