Delete ViewBag Key
Contacts
Delete ViewBag Key
Removes a key from the contact's ViewBag
Painel de configuracao
Esta visualizacao usa o frontend real do ConfigPanel em modo embed, carregando um no de exemplo com o JSON base desta documentacao.
Preview real do painel
JSON base do node
{
"_nodeType": "contact.deleteViewBag",
"contactId": "",
"key": ""
}Portas
Entradas
Input
input · control
Saidas
Output
default · control
Error
error · error
Notas de uso
Output: local.<nodeId>.viewBag → updated ViewBag object after key removal.
**Fields:**
- `contactId`: Leave EMPTY for current conversation contact.
- `key`: Key to remove (e.g., `"temp_code"`, `"etapa"`).
**Use cases:** Clear temporary data after validation, reset state/step, remove expired tokens.
**Error port:** Fires when contactId is invalid or contact not found.