https://discord.gg/botpress logo
#👀feature-requests
Shared functions
# 👀feature-requests
e

early-train-33247

06/22/2023, 7:46 PM
There should be a way to create Javascript functions that are accessible in any custom code, transition or dynamic content field.
This would be useful for utils, formatters and custom data (objects, arrays, etc) that are often reused across the bot.
d

damp-forest-63651

07/19/2023, 3:51 AM
Yes reusable functions, it would help optimize code, and scale bot easily as it get more and more functionalities
w

wonderful-potato-80729

07/19/2023, 9:21 PM
To tack on to this: If would be great to take advantage of OpenAIs new Function feature to have the AI call functions.
r

rich-plumber-25796

01/30/2024, 4:14 PM
+1 on this
f

flaky-ability-96739

02/01/2024, 6:12 AM
Voiceflow does this, was released recently - https://developer.voiceflow.com/docs/functions
3 Views