Skip to content

Placeholders ​

A placeholder in a Truetask automation is a name in curly braces that is replaced with a live value when the automation runs. Hello {actor.name}, {card.title} is due {card.due_date} becomes a real sentence the moment the run reaches that node.

Every text field in the builder accepts them, and the fields that do have a picker button, Insert placeholder. The picker lists the tokens that make sense at that point in the graph, including the outputs of every node upstream of the one you are editing.

The Insert placeholder picker on an Add comment node in Truetask, listing the answers of the Dialog before it, then the task's tokens

Tokens keep the API vocabulary

The product calls them tasks. Placeholders call them cards, so the task's title is {card.title}.

The rules ​

  • A token is { a name }, made of letters, digits, underscores, dots, dashes and plus signs, starting with a letter or an underscore.
  • A token that resolves to nothing becomes an empty string.
  • A token Truetask does not recognise is left alone, braces and all, so literal braces survive.
  • A field or relation name may contain spaces; its key never does, because spaces become underscores. A field called Deal value is {card.xattr.Deal_value}.
  • A node's own name is the key other nodes address it by. Node names are lowercase snake_case, and the builder converts spaces and hyphens for you. Renaming a node rewrites the placeholders that point at it.
  • In an HTTP request body written as JSON, a placeholder inside a string is escaped for you, so the body stays valid whatever the value holds.

Private email addresses ​

{card.assignee.email}, {card.watchers.email} and {actor.email} exist so an email step can write to the people on a task. An address its owner keeps private fills in only in the recipient fields of Send email: To, Cc, Bcc and Reply to. Everywhere else, including the email's subject and body, an HTTP body, a message or an AI prompt, a private address resolves to empty.

The task ​

Available whenever the run has a task in focus, which is every task trigger and anything after a Target task, Target linked record or Create task node.

TokenValue
{card.id}ID
{card.key}The task's key, such as DEVE-123
{card.title}Title
{card.description}Description
{card.priority}The priority's name
{card.list}The list's name
{card.board}The board's name
{card.priority_id}The priority's ID
{card.list_id}The list's ID
{card.board_id}The board's ID
{card.start_date}Start date
{card.due_date}Due date
{card.created}Created
{card.updated}Updated
{card.archived}true or false
{card.completed}true or false
{card.url}A link to the task
{card.assignee.email}Assignee emails, comma separated
{card.watchers.email}Watcher emails, comma separated

The name tokens give the names a person reads, so Task moved to {card.list} becomes Task moved to Done. Use the _id tokens where something needs the record itself, such as an HTTP request body or an API call.

The board ​

TokenValue
{board.id}ID
{board.name}Name
{board.summary}Summary
{board.status}Board status
{board.status_kind}Board status kind
{board.start}Board start date
{board.end}Board end date
{board.icon}Icon
{board.key}Board key, the prefix on task keys
{board.created}Created
{board.url}A link to the board
{board.xattr.<Field_name>}A board-level custom field's value
{board.changed}The details a Board details updated trigger saw change

The link tokens, {card.url}, {board.url} and {note.url}, are built from the workspace's own address.

Custom fields and linked records ​

TokenValue
{card.xattr.<Field_name>}The task's value for that custom field
{card.xattr.<Relation>.title}The title of the record linked through that relation field
{card.xattr.<Relation>.id}Its id
{card.xattr.<Relation>.<Field_name>}A custom field on the linked record

A relation with several targets joins them with a comma, in link order. The picker lists one entry per custom field and relation field on the board, so you rarely need to type these by hand. See Custom fields.

The person who caused it ​

TokenValue
{actor.id}ID
{actor.name}Name
{actor.email}Email

Clock and calendar ​

Available to every trigger, and the only context a scheduled run has when it runs for the board. Times are in the run's timezone: the one the schedule pinned, otherwise the workspace default, otherwise UTC.

TokenValue
{now}Date and time now, YYYY-MM-DD HH:MM
{now.iso}Date and time now in UTC, ISO 8601
{now.time}Time now, HH:MM
{now.hour}Hour now, 00 to 23
{now.tz}The timezone of this run
{today} and {today.iso}Today's date, YYYY-MM-DD
{today.weekday}Weekday name, such as Monday
{today.weekday_num}Weekday number, Sunday is 0
{today.month}Month number
{today.year}Year
{today.week}ISO week number
{today+7}Seven days from today
{today-1}Yesterday

{today+N} and {today-N} take any whole number of days.

A run on selected tasks ​

A run started on several selected tasks has no single task in focus, so {card.*} is empty outside a For each.

TokenValue
{selection.count}How many tasks the run was started on
{selection.cards}Those tasks as a JSON list, each in the HTTP request's task shape

Trigger payloads ​

These are filled in only by the trigger they belong to, and are empty otherwise.

Board status change ​

{board_status.old}, {board_status.new}, {board_status.old_kind}, {board_status.new_kind}

Board field change ​

{board_field.name}, {board_field.old}, {board_field.new}

Milestone ​

{milestone.id}, {milestone.name}, {milestone.date}

Note ​

{note.id}, {note.title}, {note.path}, {note.folder}, {note.content}, {note.status}, {note.url}, {note.changed}

A note comment also fills {comment.id}, {comment.message} and {comment.author}.

Note publication ​

{publication.id}, {publication.slug}, {publication.title}, {publication.scope}, {publication.url}

File decision ​

Filled by File approved, File approval removed, File turned down and File turn-down removed.

TokenValue
{approved_file.id}The file
{approved_file.name}Its filename
{approved_file.approver}Who the decision reads as: the outside party when one was recorded, else the person who recorded it
{approved_file.decision}approved or rejected
{approved_file.reason}What the deciding party said, empty when no reason was given

Client ​

Filled by the client triggers.

TokenValue
{client.name}, {client.email}, {client.company}, {client.id}The client who acted
{client_request.kind}The request's kind: document, answer, signature or approval
{client_request.ask}What was asked
{client_request.answer}Their answer, or why they declined an approval
{client_request.decision}The decision on an approval
{client_request.by}Answered by the client or by a teammate
{client_request.id}Request ID
{payment.title}, {payment.amount}, {payment.currency}, {payment.paid_at}, {payment.provider}, {payment.id}The payment, on Client paid
{booking.starts_at}, {booking.ends_at}, {booking.title}, {booking.note}, {booking.id}The appointment, on Client booked a time
{client_message.text}, {client_message.id}The message, on Client wrote

After a Share with a client step: {client_share.title}, {client_share.email}, {client_share.company} and {client_share.id}. After an Ask the client step: {client_ask.count}, how many things were asked. See Clients.

Agent handoff ​

{handoff.run_id}, {handoff.step}, {handoff.step_key}, {handoff.to_agent}, {handoff.to_agent_id}, {handoff.from_agent}, {handoff.from_agent_id}

Agent run status ​

{run.id}, {run.status}, {run.previous_status}, {run.agent}, {run.agent_id}, {run.summary}

Incoming webhook ​

TokenValue
{webhook.id}Endpoint ID
{webhook.name}Endpoint name
{webhook.method}HTTP method
{webhook.ip}Sender IP
{webhook.body}The raw body
{webhook.body.<field>}One field out of the body
{webhook.query.<param>}One query parameter
{webhook.header.<name>}One request header
{webhook.files}The files the request carried
{webhook.files_count}How many
{webhook.files.0.name}The name of the file at that position

The endpoint picker on the trigger shows the last request it received, so you can read the field names off it and copy a placeholder straight out. See Webhooks.

Text message ​

{sms.from}, {sms.to}, {sms.body}, {sms.sid}, {sms.media_count}

After a Send text node: {sms_sent.to}, {sms_sent.from}, {sms_sent.status} and {sms_sent.sid}.

WhatsApp ​

{whatsapp.from}, {whatsapp.from_name}, {whatsapp.to}, {whatsapp.body}, {whatsapp.id}

After a Send WhatsApp node: {whatsapp_sent.to}, {whatsapp_sent.from}, {whatsapp_sent.status} and {whatsapp_sent.id}.

Slack ​

TokenValue
{slack.from_name}Sender name
{slack.from}Sender ID
{slack.channel_name}Channel name
{slack.channel}Channel ID
{slack.body}Message text
{slack.permalink}Link to the message
{slack.kind}Message or mention
{slack.thread_ts}The thread it sits in

After a Send Slack message node: {slack_sent.permalink}, the link to the message just sent, and {slack_sent.channel}, the channel it went to. See Slack.

Git ​

Filled by the git triggers.

TokenValue
{git.pr_number}Pull request number
{git.pr_title}Pull request title
{git.pr_state}Pull request state
{git.pr_url}Pull request link
{git.source_branch}Head branch
{git.target_branch}Base branch
{git.author}Author login
{git.repo}Repository, owner and name
{git.sha}Commit SHA
{git.commit_message}Commit message
{git.commit_url}Commit link
{git.issue_number}Issue number
{git.issue_title}Issue title
{git.issue_state}Issue state
{git.issue_url}Issue link

These are not in the picker; type them. See Git integration.

Output from an upstream node ​

Nodes that produce something expose it under their own node name. The picker adds a group per upstream node, so you can click the token instead of typing it.

NodeTokens
HTTP request{http.<name>} the whole response, {http.<name>.status}, {http.<name>.body}, {http.<name>.headers.<header>}
Parse JSON and Parse XML{parsed.<name>} the whole result, {parsed.<name>.<variable>} for each extract you named
Read note, Write note, Update note{notes.<name>}, {notes.<name>.content}, {notes.<name>.count}, {notes.<name>.title}, {notes.<name>.path}, {notes.<name>.notes.0.title}
Dialog{dialog.<name>.<field id>}, {dialog.<name>.<field id>.start} and .end for a date range, {dialog.<name>.button}, {dialog.<name>} for every answer
Make a file{file.<name>.id}, {file.<name>.url} (download link), {file.<name>.name}, {file.<name>.rows}, {file.<name>.size} (bytes), {file.<name>.format}, {file.<name>} as JSON
Run on a computer{helper.<name>.<key>} for each output the action names, {helper.<name>} for all of them as JSON
Plugin steps{plugin.<name>.<key>}, {plugin.<name>} for the whole answer
Agent{agent.output} for the most recent one, {agent.output.<node_id>} for a specific one
Quick AI actions{ai.output} for the most recent one, {ai.output.<node_id>} for a specific one

{agent.output} and {ai.output} point at the same text, so either spelling works. Header names are lowercase. A Dialog's answers, a file's details and a computer's outputs are empty until that step has run. See Dialog for how the answers read.

A document the agent wrote ​

When an Agent step writes a document onto a task, the steps after it read:

TokenValue
{document.file_id}The file id of the last document the run wrote. Put it in Send email's Attachments.
{document.filename}Its filename
{document.url}A link to it
{document.format}Its format, such as pdf
{document.<node_id>.<field>}The same for a named Agent node

Secrets ​

{secret.<id>} is not a placeholder in general: only an HTTP request's header values resolve it, at send time. See Webhooks.

Inside a For each loop ​

TokenValue
{loop.item}The current item
{loop.item.<path>}A dotted path into the current item
{loop.index}The zero-based counter
{loop.total}How many items there are

When the loop walks tasks rather than JSON, it also swaps the focus task each turn, so {card.title} and the rest follow the loop.

Comparing values ​

A Condition or Filter node in Task field mode picks its left side from a list. Switch it to Expression mode and the left side is a text field that takes placeholders, so you can compare anything, including two upstream outputs: {parsed.lookup.is_active} equals true.

The right side is a text field too, so both sides can be placeholders. See Actions and logic for the operators each field type offers.

Seeing what is actually there ​

Drop a Debug node anywhere in the graph and run the automation. It snapshots the placeholders available at that point into the run log, and does nothing else. See Runs and logs.

Truetask works the same on Truetask Cloud and on your own server. Pages and sections that apply to one model only are labelled. For AI assistants: llms.txt.