TestPostMessageSlackAction is an input datatype for testing a post message Slack action. It's used by the testSlackPostMessageAction() mutation field.

Table: TestPostMessageSlackAction

ParameterTypeRequiredDefaultStabilityAvailabilityDescription
apiTokenStringyes   Api token to authenticate with Slack.
channelsStringyes   List of Slack channels to message.
eventDataStringyes   JSON data representing zero or more events. One event can be supplied as a JSON object. Multiple events must be supplied as a list of JSON objects.
fieldsSlackFieldEntryInputyes   Fields to include within the Slack message. Can be templated with values from the result.
nameStringyes   Name of the action.
triggerNameStringyes   Name of the action. This is a mock value, the trigger does not have to exist.
useProxyBooleanyes   Defines whether the action should use the configured HTTP proxy to send requests.
viewNameStringyes   Name of the view of the action.