st.reactToComment

This action allows you to react to a comment using any available reaction type.

Constraints

⏺️ Root Start: allowed, when commentUrl parameter is provided.

⬆️ Parent Actions: st.doForComments, st.openComment.

⬇️ Child Actions: N/A.

Parameters

json
{
  "actionType": "st.reactToComment",
  "commentUrl": "https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789/?dashCommentUrn=urn%3Ali%3Afsd_comment%3A(9876543210%2Curn%3Ali%3Aactivity%3A1234567890123456789)",
  "type": "like",
  "label": "comment1"
}
  • commentUrl (required for root start, forbidden for parent start) – LinkedIn URL of the comment.
  • type (optional, default: like) – enum describing the reaction type.
    • like – standard "like".
    • celebrate – to celebrate an achievement.
    • support – to show support.
    • love – to express love or admiration.
    • insightful – to appreciate insightful content.
    • funny – to react to something humorous.
  • label (optional) – custom label for tracking this action in workflow completion.

Result options

  1. Successful comment reaction:
json
{
  "actionType": "st.reactToComment",
  "success": true,
  "label": "comment1"
}
  • label – included only if specified in the action parameters.
  1. Failed comment reaction:
json
{
  "actionType": "st.reactToComment",
  "success": false,
  "label": "comment1",
  "error": {
    "type": "commentNotFound",
    "message": "The comment could not be opened or no longer exists."
  }
}
  • label – included only if specified in the action parameters.
  • error.type – enum with the following possible values:
    • commentNotFound – the comment could not be opened or no longer exists.