How to Erase Variables and Delete Session Data

  • Updated
  • There are times where you may want to erase all variables collected during a session and start over.  You can do this with the Zingtree Erase Variables stock webhook, So when a specific node is reached, this webhook will trigger and delete your variables.

     You can set this up as follows:

    1. Edit the node that you want to trigger erasing variables.
    2. Go to Apps/Webhooks and add a new Webhook.
    3. Select Webhook: Zingtree Erase Variables.
    4. Make sure to click Save Changes.


    Note: This webhook will not erase any variables created automatically, like the tree_id, tree_name, or any location information (if set).


    Erasing ALL Session Data History

    You can entirely remove any trace of data collected by Zingtree by adding ALL to the Message Data field.

    Note that if you do this, you will have no record of any data collected at any point during the decision tree session.

  • There are times where you may want to erase all variables collected during a session and start over. You can do this with the Zingtree Erase Variables stock webhook, So when a specific node is reached, this webhook will trigger and delete your variables.

     You can set this up as follows:

    1. Edit the node that you want to trigger erasing variables.
    2. Open the Apps/Webhooks menu and click Add App.
    3. Select Webhook: Zingtree Erase Variables.
      2022-04-20_20-30-25.png


    Note: This webhook will not erase any variables created automatically, like the tree_id, tree_name, or any location information (if set).


    Erasing ALL Session Data History

    You can entirely remove any trace of data collected by Zingtree by adding ALL to the Message Data field.

    2022-04-20_20-33-39.png

    Note that if you do this, you will have no record of any data collected at any point during the decision tree session.

  • Throughout 2022 Zingtree will be upgrading customers to our new faster and more modern user experience! Here's how to tell which experience your Zingtree Authors are currently using.

    Log in to your Zingtree Author account and navigate to My Trees. How does your current My Trees page look?

    Zingtree Classic

    2022-02-25_12-24-51.png

    New User Experience

    mceclip0.png

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request