Actions11
- Output Actions
- Instruction Actions
- API Actions
Instruction → Get Instructions
AI-generatedSummary
Fetch the current AI instructions (system prompt) stored in Tracira for a specified project and task. On the first workflow run where no instructions exist yet for that project and task, save the provided Starter Instructions as version 1 and return them; otherwise, always return the instructions stored in Tracira.
Inputs
- Project Name (required) — The project name to fetch instructions for; must match the Project Name used in the Send an Output operation to keep instructions and outputs aligned.
- Task Name (required) — The task name to fetch instructions for; must match the Task Name used in the Send an Output operation.
- Starter Instructions — Optional initial instructions text that will be saved as version 1 if no instructions yet exist for this project and task. Returned only the very first time the workflow runs for this combination.
Output shape
a single JSON object representing the current instructions for the given project and task, including the instructions' content and version information
On the very first run when no existing instructions are found, this operation saves the Starter Instructions as version 1 and returns them. Subsequently, it returns whatever instructions are stored in Tracira. Errors are returned normally as operation failures.
Examples
Example 1: Fetch AI instructions for the 'Marketing' project and 'Email Generation' task to ensure the AI receives the correct system prompt before processing.
Set Project Name to 'Marketing', Task Name to 'Email Generation', and optionally provide Starter Instructions if this is the first time fetching instructions for these parameters.