Developers
ENPT

Environments

Change and test your avatar safely, then put the changes live in one step.

An environment is an isolated copy of your avatar where you make and test changes without affecting what your customers see. Production is the version that is live.

Customers always talk to production. You edit in an environment, test it, and promote it when it is ready. Promotion replaces what is live with the environment's version.

What goes through an environment

Goes through an environmentApplies immediately
IdentityThe avatar Identifier (slug)
Content blocks and files (Knowledge Base)Links
AutomationsSharing lists or files with other avatars
Forms

In production, screens that go through an environment are read-only and show Production environment selected. Edit in another environment, then promote.

The environment selector

The selector in the header shows where you are. Open it to:

  • Switch between Production (marked live) and your environments.
  • Create new environment.
  • Rename or Discard an environment under More actions.
  • Promote the environment you are in.

If you have unsaved changes, save or discard them before switching environments.

Typical workflow

Create

In the header selector, click Create new environment. Give it a name that says what you are changing, such as "new return policy".

Edit

Change identity, content, automations or forms. Everything is saved in the environment.

Test

Click Test in the header. The test panel shows You are in the environment: and the environment name. Conversations use the environment's version; production is not changed.

Review

Click Promote. The dialog lists every change, grouped by Identity, Automation, Form and Knowledge Base. Use View differences to check each one.

Promote

Confirm. The message "name is live" appears and customers start getting the new version.
Promotion cannot be undone from the promote dialog. Test before you promote.

Environment status

StatusMeaning
DraftCreated, not tested yet.
TestingMoves here automatically on the first test message.
PublishedPromoted to production. Read-only.
ArchivedDiscarded. Production was not changed.

The Environments screen

At https://gestao.tolky.to/environments you see all environments of the selected avatar, filter them and, for each one, use Promote, Test environment, View diff and Discard. You can also choose which version of each part the environment uses: the identity version, each automation, each form and the Knowledge Base branch.

How versioning worksTechnical details

Each part of the avatar is versioned separately, and an environment is a set of pins to those versions:

  • Identity: every save creates a version. Saving inside an environment pins that version to it. In Identity › History, Use this version pins an older version.
  • Automations and Forms: each one can be pinned to a version, left on production, or marked for removal on promotion.
  • Knowledge Base: content edits go to a branch that belongs to the environment. The branch is created on the first edit, so entering an environment does not create anything. Deleted files are marked and leave production on promotion.

View diff compares production with the environment snapshot, entity by entity. Promotion applies all pinned versions to production at once.

Previous

Content insights

Next

Automated tests