st.replyToComment
This action allows you to reply to a comment.
Constraints
⏺️ Root Start: allowed, when
commentUrlparameter is provided.
⬆️ Parent Actions: st.doForComments, st.openComment.
⬇️ Child Actions: N/A.
Parameters
json
{
"actionType": "st.replyToComment",
"label": "comment1",
"commentUrl": "https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789/?dashCommentUrn=urn%3Ali%3Afsd_comment%3A(9876543210%2Curn%3Ali%3Aactivity%3A1234567890123456789)",
"text": "Thanks for sharing your thoughts!"
}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.text– reply text.
Result options
- Successful comment reply:
json
{
"actionType": "st.replyToComment",
"label": "comment1",
"success": true,
"data": {
"commentUrn": "urn:li:comment:(urn:li:activity:1234567890123456789,1122334455)",
"commentUrl": "https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789/?dashCommentUrn=urn%3Ali%3Afsd_comment%3A(1122334455%2Curn%3Ali%3Aactivity%3A1234567890123456789)"
}
}label– included only if specified in the action parameters.data– information about the created reply.commentUrn– LinkedIn URN of the created reply, if available.commentUrl– canonical deep-link URL of the created reply, if available.
- Failed comment reply:
json
{
"actionType": "st.replyToComment",
"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.replyingNotAllowed– replying is not allowed on this comment.