TrainAR icon

TrainAR

Call the TrainAR API — tasks, users, skills

Actions6

Skill → Execute

AI-generated

Summary

Invokes a specific TrainAR skill via its webhook, forwarding custom arguments and optional session context.

Inputs

  • skillId (required) — The UUID of the skill to execute.
  • skillArguments (required) — JSON object of arguments forwarded to the skill webhook.
  • sessionContextOverride — Optional override for session context. If empty or null, the tenant's first active seat is used. For explicit override pass { customer_id, seat_id, user_id, role }.

Output shape

A single record containing the API response from the skill execution.

The response is returned as a single item in the output list.

Examples

Example 1: Execute a skill with default session context

Skill ID: a1b2c3d4-e5f6-7890-abcd-ef1234567890, Arguments: { action: 'start' }

Example 2: Execute a skill with explicit session context

Skill ID: 12345678-1234-1234-1234-123456789012, Session Context: { customer_id: 1, seat_id: 2 }, Arguments: { user_name: 'Alice' }

Links

Discussion