From the course: Google Assistant: Building Actions

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Overview of the formats required

Overview of the formats required - JSON Tutorial

From the course: Google Assistant: Building Actions

Start my 1-month free trial

Overview of the formats required

- [Instructor] Now let's go and explore the folder request and response calls when you interact with APIs in Dialogflow. So let's got back to our intents and right now, I'm in the tell me about recent Javascript news intent which we actually added a few questions before. Now let's say, for example, we wanted to call an API when we're using this intent. Let's go and add another question. What are today Javascript news? So what are today's Javascript news? So when I add this new training phrase, see what's going to happen. So the first thing that happens, it actually adds a new parameter name called sys.date. So basically it's going to look for today's date and then feed this as an argument which is right here. So let me just fix the syntax of our question and then move on. So basically what's going to happen, now we have access to data that we can feed into our API to get proper results. So now that we have a date API, the response will come from the webhook. So let's say for example…

Contents