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 environment | Applies immediately |
|---|---|
| Identity | The avatar Identifier (slug) |
| Content blocks and files (Knowledge Base) | Links |
| Automations | Sharing 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
Edit
Test
Review
Promote
Environment status
| Status | Meaning |
|---|---|
| Draft | Created, not tested yet. |
| Testing | Moves here automatically on the first test message. |
| Published | Promoted to production. Read-only. |
| Archived | Discarded. 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.