Showing results for 
Search instead for 
Did you mean: 

"find and replace" while setting memory values

0 Kudos

Hi all,

Is there a way to run a replace method ("find this", "replace with this") on {{memory.string_value}} at runtime? We've tried {{memory.string_value.replace(...)}} and {{memory.string_value.sub}} but that doesn't seem to work.

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi Tim,

right now this is not possible with the Edit Memory action. The only way to do it would be an external service doing the replacement via webhook action.

There is a string replace helper coming soon as part of the Scripting functionality, which will allow you to replace the string directly in the Edit Memory action.