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

Table: TestPostMessageSlackAction

ParameterTypeRequiredDefaultStabilityDescription
Some arguments may be required, as indicated in the Required column. For some fields, this column indicates that a result will always be returned for this column.
Table last updated: Sep 20, 2024
apiTokenstringyes Long-TermThe API token to authenticate with Slack."
channels[string]yes Long-TermA list of Slack channels to message.
eventDatastringyes Long-TermJSON 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 Long-TermFields to include within the Slack message. Can be templated with values from the result. See SlackFieldEntryInput.
namestringyes Long-TermThe name of the action.
triggerNamestringyes Long-TermThe name of the action. This is a mock value; the trigger doesn't have to exist.
useProxybooleanyes Long-TermDefines whether the action should use the configured proxy to make web requests.
viewNamestringyes Long-TermThe name of the view of the action.