Questions tagged [actionbuilder]

Related to custom action builders of the Play Framework.

Related to custom action builders of the Play Framework.

https://www.playframework.com/documentation/2.2.x/ScalaActionsComposition

18 questions
15
votes
2 answers

Play 2.6 ActionBuilder

I upgraded my Play application from 2.5 to 2.6 today and i got a problem with ActionBuilder. The docs state: The Scala ActionBuilder trait has been modified to specify the type of the body as a type parameter, and add an abstract parser member as…
perotom
  • 851
  • 13
  • 33
3
votes
1 answer

Google actions builder - how to read from webhook request and avoid empty response

When I call webhook using PHP, I get this message while testing. Sorry, I didn't get any response Attached my webhook request json and and php code if($method == 'POST') { $requestBody = file_get_contents('php://input'); $json =…
2
votes
0 answers

Google Action does not have trained NLU model (No trained NLU model found.)

I am currently in the process of migrating from an older Dialogflow agent to a new ActionBuilder agent. Going well so far (translated into a new action to wrap things up before I am gonna push the changes to the old action), but it suddenly stopped…
oem
  • 356
  • 1
  • 5
1
vote
1 answer

Issue google action user.verificationStatus always returns unverified

I'm using action builder to create actions. it was all fine when I deployed the action a few months ago,( everything was working those days). but a few days ago when I checked the action it was not working properly. i find that it always returns…
1
vote
1 answer

Invalid response from webhook: Failed to translate JSON to ExecuteHttpResponse

I have a webhook from my google assistant new actions builder platform. Webhook code is written in the dotnet vs2019. I have followed the webhook request and response format and sample jsons provided in the below…
1
vote
1 answer

How to add suggestion chips in webhook with actions sdk

I am building an action with Google Actions SDK, and for a scene I am using a webhook for onEnter. My question is how do I add suggestion chips using the webhook function. This is my webhook app.handle('startSceneOnEnter',conv=>{ conv.add('its…
frankieGT
  • 13
  • 2
1
vote
0 answers

How get device location using action builder

i'm writing to you to ask a little support about an action that we are currently developing using Action Builder and webhook library @assistant/conversation for Nodejs. In particular, we would invoke our webhook's logic using the device location. We…
hermit274
  • 49
  • 1
  • 5
1
vote
1 answer

How to validate Path variable in Play Framework

I'm developing a scala Application with play framework. i validate the request body using play json schema validator and the validation works perfect, i'm validating the the path variable using filter but my problem is i have to get every pattern…
Basil Battikhi
  • 2,638
  • 1
  • 18
  • 34
1
vote
1 answer

Play Framework: Chain ActionsBuilder and ActionRefiner

I am desperate. I tried to do ActionComposition like in the very last paragraph of the official docs: https://playframework.com/documentation/2.3.x/ScalaActionsComposition My code: object ActionBuilder1 extends ActionRefiner[Request, Request] { …
Tim Joseph
  • 847
  • 2
  • 14
  • 28
1
vote
1 answer

Adding ActionBuilders to a project to check permissions after identification

First of all, I'm a newbie in Play Framework, so maybe this is very basic, but I couldn't find enough documentation to clarify. Currently I have a project that use Oauth2 to identify and authorize the users. This is being done with an ActionBuilder…
Guillermo Merino
  • 3,197
  • 2
  • 17
  • 34
0
votes
1 answer

Slot filling for intent - Google Actions Builder

In the Dialogflow, we have a option like slot filling when a particular intent is matched, the Dialogflow agent continues collecting all the required parameters (which is specified by us within the intent). The same option in Alexa too. But I can't…
0
votes
1 answer

How to build external HTTPS webhook for Google Action builder

I want to build a simple conversation with a scene calling an external webhook : https://ipaddress/Serveur_Cron.php?cmd=ActionOnGoogle In action Builder, "Scene" tells me to link with a webhook name : Action Builder Scene but in the webhook tab I…
0
votes
1 answer

how to change conversation language of google assistant from webhook after the action is invoked

I am working on a app in google assistant using the action builder. My default language is English. Now I want to add another language to my app. I did all the settings related to second language. It works if I call from the other one. Now I want to…
Prachi Joshi
  • 355
  • 1
  • 7
  • 20
0
votes
0 answers

Actions on Google Simulator fail to refresh

I've built an action using Action Builder in 2 languages, it and en. Opening the simulator I've got the message: Scenes in locale en differ from scene in locale it. Opening the console I have a generic error with errorCode 3. Someone had the same…
7laria
  • 44
  • 3
0
votes
1 answer

Extract Option from Future in ActionBuilder

I am implementing authentication based on this Scala Play Authentication example. Therefore I use the following ActionBuilder to build an UserAction. UserAction.scala class UserRequest[A](val user: Option[Admin], request: Request[A]) extends…
tomole
  • 927
  • 3
  • 12
  • 35
1
2