Actions32
- AI Personalization Actions
- Campaign Actions
- LinkedIn Actions
- Setting Actions
AI Personalization → Create AI Variable
AI-generatedSummary
Create or update an AI variable for use in Salesrobot campaign sequences.
Inputs
- linkedinAccountUuid (required) — The UUID of the LinkedIn account associated with the campaign.
- name (required) — Name of the AI variable to be created or updated.
- text (required) — The prompt for the AI variable. Supports dynamic tags like {{firstName}}, {{company}}, and {{industry}}.
- updateAiVariableId — ID of an existing AI variable to update. Leave empty to create a new variable.
Output shape
A list of items (typically one per input item), each containing the response data from the API.
The response shape depends on the specific API endpoint behavior for creating or updating variables.
Examples
Example 1: Create a personalized opening line variable for a specific prospect.
linkedinAccountUuid: [Account UUID], name: 'Opening Line', text: 'Hi {{firstName}}, I noticed you work at {{company}} and I'd love to connect.'
Example 2: Update an existing AI variable with a new prompt.
linkedinAccountUuid: [Account UUID], name: 'Opening Line', text: 'Updated prompt...', updateAiVariableId: [Existing Variable ID]