Salesrobot icon

Salesrobot

Interact with Salesrobot API for LinkedIn automation and outreach

AI Personalization → Create Smart Comment Variable

AI-generated

Summary

Creates a new smart comment variable, or updates an existing one, for a Salesrobot LinkedIn account. The variable is a prompt template used in post-engagement sequences. It sends a POST to /sequence/add_new_smart_comment_variable.

Inputs

  • linkedinAccountUuid (required) — UUID of the LinkedIn account that will own the variable. Sent as a query parameter.
  • name (required) — Name of the smart comment variable. Sent in the request body.
  • text (required) — The smart comment prompt, a multi-line text field. It can include placeholder tags such as {{firstName}}, {{about}}, {{industry}}, {{currentPost}} and {{otherComments}}. Sent in the request body.
  • updateSmartCommentVariableId — ID of an existing smart comment variable to update. Leave empty to create a new one. An empty value is sent as null.
  • requestOptions — Node-level HTTP options: batching (items per batch and interval in ms), ignore SSL issues, proxy URL, and timeout (default 10000 ms).

Output shape

The parsed JSON response from the Salesrobot API (https://api.boomtechinc.com/api) for the create or update call. It is returned as the node's output item.

The source defines no response shaping, and the response schema isn't declared in the node. The result will presumably describe the created or updated variable, but this is not confirmed by the source. Requests use the salesrobotApi credential. With batching, input items are processed in throttled batches, with one request per item.

Examples

Example 1: Create a new comment-generation prompt for a LinkedIn account

Set linkedinAccountUuid to the account UUID and name to 'Friendly comment'. Set text to "Write an engaging comment for {{firstName}}'s post about {{currentPost}} considering their {{industry}} background". Leave updateSmartCommentVariableId empty.

Example 2: Revise the prompt of an existing smart comment variable

Set linkedinAccountUuid, name, and the new text. Set updateSmartCommentVariableId to the ID of the existing variable, for example one returned by Get Smart Comment Variables.

Links

Discussion