Post Message

Operation name

Post Message

Function overview

Posts messages to a specific channel in Slack.

Properties

= Remarks =

For details on use of variables, refer to Variables.

Basic settings

Item name

Required/Optional

Use of variables

Description

Remarks

Name

Required

Not available

Enter a name that is used on the script canvas.

 

Required settings

Item name

Required/Optional

Use of variables

Description

Remarks

Destination

Required

Not available

Select a connection resource.

Add

A new connection resource can be added.

Edit list

Connection resource settings can be edited in > HULFT INTEGRATE > Connections.

 

Channel name or ID

Required

Available

Enter a channel name or channel ID to post to.

 

Message

Required

Available

Enter a message to post.

  • The token must have the chat:write scope to send messages.

  • For details on the required scope and error messages, refer to "chat.postMessage" (https://api.slack.com/methods/chat.postMessage).

  • For formats for mentions, emojis, and such, refer to "Formatting text for app surfaces" (https://api.slack.com/reference/surfaces/formatting).

  • Messages more than 40,000 characters are truncated.

Attachments

Item name

Required/Optional

Use of variables

Description

Remarks

File

Optional

Available

Enter the attachment file path.

  • The token must have the files:write scope to send files.

  • For details on the required scope and error messages, refer to "files.upload" (https://api.slack.com/methods/files.upload).

Comment

Item name

Required/Optional

Use of variables

Description

Remarks

Comment

Optional

Not available

You can write a short description of this connector.

 

Schemas

Input schema

None.

Output schema

None.

Mass data processing

Mass data processing isn't supported.

Transaction

Transaction isn't supported.

Parallel Stream Processing

PSP isn't supported.

Available component variables

Component variable name

Description

Remarks

message_category

When an error occurs, the category of the message code corresponding to the error is stored.

  • The default value is null.

message_code

When an error occurs, the code of the message code corresponding to the error is stored.

  • The default value is null.

message_level

When an error occurs, the severity of the message code corresponding to the error is stored.

 

  • The default value is null.

error_type

When an error occurs, the error type is stored.

  • The default value is null.

error_message

When an error occurs, the error message is stored.

  • The default value is null.

error_trace

When an error occurs, the trace information for the error is stored.

  • The default value is null.

Message codes, exception messages, and limitations

Connector

Message code

Exception message

Limitations

Messages and limitations of the Slack connector

check

check

None