st.openComment
This action allows you to open a comment to react to it or reply to it.
Constraints
⏺️ Root Start: allowed, when
commentUrlparameter is provided.
⬆️ Parent Actions: st.doForComments.
⬇️ Child Actions: st.reactToComment, st.replyToComment.
Parameters
json
{
"actionType": "st.openComment",
"label": "comment1",
"commentUrl": "https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789/?dashCommentUrn=urn%3Ali%3Afsd_comment%3A(9876543210%2Curn%3Ali%3Aactivity%3A1234567890123456789)",
"then": { ... }
}label(optional) – custom label for tracking this action in workflow completion.commentUrl(required for root start, forbidden for parent start) – LinkedIn URL of the comment.then(optional) – object or array of child actions to be executed within this action.
Result options
- Successful comment opening:
json
{
"actionType": "st.openComment",
"label": "comment1",
"success": true,
"data": {
"commentUrn": "urn:li:comment:(urn:li:activity:1234567890123456789,9876543210)",
"commentUrl": "https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789/?dashCommentUrn=urn%3Ali%3Afsd_comment%3A(9876543210%2Curn%3Ali%3Aactivity%3A1234567890123456789)",
"then": { ... }
}
}label– included only if specified in the action parameters.data– information about the opened comment and results of child actions execution.commentUrn– LinkedIn URN of the comment, if available.commentUrl– canonical deep-link URL of the comment, if available.then– results of child actions execution.
- Failed comment opening:
json
{
"actionType": "st.openComment",
"label": "comment1",
"success": false,
"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.