DeletePersonaAttribute
The DeletePersonaAttribute action deletes a specific attribute from a given persona, removing its stored value.
DeletePersonaAttribute(
id: str,
field: str
)
Where:
- id: The UUID of the persona whose attribute you want to delete.
- field: The name of the attribute to delete.
Example
{{Set(name="user_id", value=GetUser(field="id"))}}
{{DeletePersonaAttribute(id=user_id, field="temporary_data")}}
{{SendMessage(message="Attribute deleted.")}}The above code snippet deletes the "temporary_data" attribute from the current user's persona.
Updated 4 days ago
