Skip to main content

How to clear/flush cached slot memory when re-triggering a Conversational Process from a Compound Action?

  • March 10, 2026
  • 7 replies
  • 39 views

I have a workflow where a Compound Action presents a button to the user. Clicking this button triggers a Conversational Process via a Data Mapper payload. Inside this process, the bot asks the user for an input (e.g., a description or amount_to_add slot) and eventually reaches an HTTP action with a Consent card.

The Issue:
If the user decides to cancel at the consent step (by clicking a Cancel button or typing “cancel”), the flow ends. However, if they scroll up and click the original button to restart the process, the bot remembers their previous answer due to session caching and skips asking the question again.

What I’ve Tried:
To force the bot to start fresh, I tried passing an empty value for the slot directly from the trigger’s Data Mapper, but ran into blockers:

  • Passing null unquoted resulted in an “Invalid Data Mapper” YAML schema error.
  • Passing “null” or an empty string “‘’” allowed the Data Mapper to save, but clicking the button resulted in a generic error in Slack with zero execution logs in Agent Studio. This seems to be because the Orchestrator blocks the request pre-execution due to strict type validation or Required Input Argument constraints on the slot.

My Question:
Is there a supported way to pass a true null or empty value from a Data Mapper to flush a slot’s cache without failing type validation? Alternatively, what is the best practice for ensuring a Conversational Process completely forgets previous slot inputs when re-triggered by a button?

7 replies

Kevin Mok
Forum|alt.badge.img+1
  • Community Manager
  • March 10, 2026

Hey ​@dhotre_virupaksha - Short answer, today there isn’t a way to re-trigger the plugin from 0.

To give you a more broader explanation as to why:

The button from notify expression has a specific plugin execution ID, meaning that every time you re-click the button you are activating the same instance of the plugin, so if you have accumulated context such as slots, interactions, the plugin gets called with the same state.

 

We have discussed this internally and are working with the ML team for a long-term solution here. 


  • Author
  • Participating Frequently
  • March 10, 2026

Is there time limit on the validity of these data accumalated. Like once answered will these be in memory for lifetime?


Kevin Mok
Forum|alt.badge.img+1
  • Community Manager
  • March 10, 2026

In theory, yes. The data you have collected is associated to the plugin execution ID and there’s only one plugin execution ID associated to the the notify expression’s button.

 


  • Author
  • Participating Frequently
  • March 10, 2026

Hi Kevin,

Is this on the roadmap

Thanks,

Virupaksha


Kevin Mok
Forum|alt.badge.img+1
  • Community Manager
  • March 10, 2026

@dhotre_virupaksha It’s not on the roadmap at this time. Our ML teams are looking into this, but we don’t have any timelines for you at this time.


  • Author
  • Participating Frequently
  • March 16, 2026

Hi ​@Kevin Mok ,

Thanks for youe response. To over some this issue. I am currently working on a work around. 

I have created another compound action which will the triggered at the end of my conversation process. This Action will have 3 buttons Confirm, Restart , Cancel.

The Bot is printing few messages while this compound action  as shown in attached screenshot.

Is there a way I can suppress these messages

 


Kevin Mok
Forum|alt.badge.img+1
  • Community Manager
  • March 16, 2026

@dhotre_virupaksha I am not following. I can’t tell what’s going on from the screenshot you provided, can you provide more context with a screenshot that shows the full flow?