Botpress Raw Json

How can I use botpress’s raw json in my piece of code of Actions or skills?

Hey @pushkaragnihotri!

Can you be more specific about what you are trying to achieve?

From within an action, you can use the event parameter to access all sorts of information.

1 Like

I just got my answer within your reply. Thankyou.

But I have another question…can I make ‘say something’ part i.e.
Card
Carousel
Image
Text
Dropdown
in a custom action dynamically? I need this to be done urgently.

You can render content elements using the cms.renderElement() function from the Botpress SDK.

You can find an example on how to render an element and return that element as a reply here https://botpress.io/reference/modules/botpress_sdk.cms.html#renderelement