question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Retrieving customData in core actions

See original GitHub issue

I have set a react prop customData={{"userId": "123"}} according to the README page. I have successfully connected rasa-webchat to rasa_core via socketio. I cannot get that customData in my custom rasa_core actions.

Issue: Missing a hint in README on how to retrieve this customData in rasa_core. This may be very useful for many novices like me.

The general problem: Identification of the user in the rasa core actions. To achieve this I need either:

  • Extract senderId from rasa-webchat component in react frontend and attach this id to the user in the database.
  • Supply custom senderId or customData to rasa-webchat.

However, I cannot do any of these. I cannot access senderId in the react component. And I cannot set my custom senderId. The rasa-webchat react component is closed.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:15 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
ramsesdmcommented, Mar 13, 2019

thanks @ivopisarovic already working

1reaction
znatcommented, Dec 29, 2018

It doesn’t yet… I was suggesting a possible addition. But since you found your way there’s no need

Read more comments on GitHub >

github_iconTop Results From Across the Web

Retrieving customData in core actions · Issue #42 - GitHub
To achieve this I need either: Extract senderId from rasa-webchat component in react frontend and attach this id to the user in the...
Read more >
Saving and retrieving custom objects in Core Data
It's the first time I'm trying to save and retrieve custom data to/from my core data, but I've run into an error saying:....
Read more >
Provided Flow Core Actions - Salesforce Help
Salesforce provides several core actions in every org, such as Submit for Approval or Send Email. To add one of these actions to...
Read more >
CORE Custom Data Conversion – CORE Help Center
Here is the process of custom data conversion for new CORE users. You will see how the BQE Team converts and moves your...
Read more >
Custom Model Binding in ASP.NET Core | Microsoft Learn
Learn how model binding allows controller actions to work directly with model types in ASP.NET Core.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found