The Get conversation details action enables you to retrieve detailed information about a specific Slack conversation, such as its type (channel, direct message, or group), participants, and conversation metadata.

Settings

  • Use the Session name field to select one of the following options:
    • Session name: Enter the name of the session used during the Connect action.

      (Optional) Click the Insert a value icon to select an existing variable that you have used to store the default session name.

    • Variable: Enter the name of the variable that you have used to store the Slack session name.
  • Conversation ID: Specify the Slack conversation ID.for example C012AB3CD.
    Note: To get the conversation ID, open the conversation in Slack and copy the URL. For example, https://app.slack.com/client/T12345678/C012ABC3D. The conversation ID is the last segment in the URL, C012ABC3D.
  • Assign conversation details to a variable: Choose either Multiple variables or Dictionary variable to save the message details in the output variable:
    • Multiple variables: Assigns each retrieved value of a specific key (for example, (ID, channelName, isPrivate, isPublic, isArchived, isIM, isChannel, isMultipleIM, userID, createdTime, createdBy, topic, purpose, memberCount, webURL) to a separate variable enabling you to map each detail to a specific variable. Do following steps for each variable:
      • Click Add variable mapping.
      • Enter the Key of the variable.
      • In the Map to variable field, choose a variable where the data will be saved.
      • Click Add for this data to be saved to the configured variable.
      Table 1. Keys with variable mapping
      Key Description Variable type
      ID Unique identifier assigned to the Slack message String
      channelName Displays name of the channel. String
      isPrivate Indicates whether the channel is private. Boolean
      isPublic Indicates whether the channel is public. Boolean
      isArchived Indicates whether the channel is archived. Boolean
      isIM Indicates whether the channel is a direct message. Boolean
      isChannel Indicates whether the item is a standard channel. Boolean
      isMultipleIM Indicates whether the conversation is a group direct message. Boolean
      userID Unique identifier of the user associated with the channel (for IM). String
      createdTime Indicates the date and time when the channel was created. Datetime
      createdBy Indicates user ID of the channel creator. String
      topic Indicates the short description of the channel. String
      purpose Indicates a detailed description of the channel’s purpose. String
      memberCount Indicates number of members in the channel. Number
      webURL Indicates direct URL to access the channel. String
      latestMessage Indicates the most recent message posted in the channel. String
      latestMessageTimestamp Timestamp of the most recent message. Datetime
    • Dictionary: stores all values in a dictionary object with key-value pairs.