How to make 3rd party api call in dialogflow's inline editor
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
How to make 3rd party api call in dialogflow using inline editor please share if you have some code regarding this.
Thank you
node.js google-cloud-functions dialogflow actions-on-google
add a comment |
How to make 3rd party api call in dialogflow using inline editor please share if you have some code regarding this.
Thank you
node.js google-cloud-functions dialogflow actions-on-google
add a comment |
How to make 3rd party api call in dialogflow using inline editor please share if you have some code regarding this.
Thank you
node.js google-cloud-functions dialogflow actions-on-google
How to make 3rd party api call in dialogflow using inline editor please share if you have some code regarding this.
Thank you
node.js google-cloud-functions dialogflow actions-on-google
node.js google-cloud-functions dialogflow actions-on-google
edited Nov 27 '18 at 8:38
Abdul Rafey
asked Nov 22 '18 at 12:55
Abdul RafeyAbdul Rafey
365
365
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
You cannot make external network requests (for example an API call) from the inline editor. You need to deploy your code elsewhere. The easiest way to do this is by deploying to a paid Firebase plan. From Google:
Network calls originating from your Cloud Function for Firebase to destinations outside Google's network require billing to be enabled for the underlying Google Cloud or Firebase project.
This is not entirely true. The inline editor uses cloud functions under the hood. While, yes, you'll need to update your billing, external API calls will be accessible afterwards.
– Nick Felker
Nov 22 '18 at 15:09
yes you are right. I forgot to check my billing section, now its work.
– Abdul Rafey
Nov 24 '18 at 12:37
add a comment |
You can create an API with the technology that you want, as long as the response from the API can be understand by Dialogflow.
You need to configure it by going to Fulfillment, and point it to your API.
The API needs to respond with this structure: Dialogflow.
And If you plan to integrate with Actions on Google, you have this repository which includes some examples of responses.
And here you have some libraries to interact with Dialogflow with different languages.
Thanks buddy, It works for me.
– Abdul Rafey
Nov 24 '18 at 12:36
If the answer is valid, mind if you set it as best answer? It helps me too
– German Casares
Nov 24 '18 at 22:31
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53431544%2fhow-to-make-3rd-party-api-call-in-dialogflows-inline-editor%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
You cannot make external network requests (for example an API call) from the inline editor. You need to deploy your code elsewhere. The easiest way to do this is by deploying to a paid Firebase plan. From Google:
Network calls originating from your Cloud Function for Firebase to destinations outside Google's network require billing to be enabled for the underlying Google Cloud or Firebase project.
This is not entirely true. The inline editor uses cloud functions under the hood. While, yes, you'll need to update your billing, external API calls will be accessible afterwards.
– Nick Felker
Nov 22 '18 at 15:09
yes you are right. I forgot to check my billing section, now its work.
– Abdul Rafey
Nov 24 '18 at 12:37
add a comment |
You cannot make external network requests (for example an API call) from the inline editor. You need to deploy your code elsewhere. The easiest way to do this is by deploying to a paid Firebase plan. From Google:
Network calls originating from your Cloud Function for Firebase to destinations outside Google's network require billing to be enabled for the underlying Google Cloud or Firebase project.
This is not entirely true. The inline editor uses cloud functions under the hood. While, yes, you'll need to update your billing, external API calls will be accessible afterwards.
– Nick Felker
Nov 22 '18 at 15:09
yes you are right. I forgot to check my billing section, now its work.
– Abdul Rafey
Nov 24 '18 at 12:37
add a comment |
You cannot make external network requests (for example an API call) from the inline editor. You need to deploy your code elsewhere. The easiest way to do this is by deploying to a paid Firebase plan. From Google:
Network calls originating from your Cloud Function for Firebase to destinations outside Google's network require billing to be enabled for the underlying Google Cloud or Firebase project.
You cannot make external network requests (for example an API call) from the inline editor. You need to deploy your code elsewhere. The easiest way to do this is by deploying to a paid Firebase plan. From Google:
Network calls originating from your Cloud Function for Firebase to destinations outside Google's network require billing to be enabled for the underlying Google Cloud or Firebase project.
answered Nov 22 '18 at 14:08
Nathan LiuNathan Liu
135112
135112
This is not entirely true. The inline editor uses cloud functions under the hood. While, yes, you'll need to update your billing, external API calls will be accessible afterwards.
– Nick Felker
Nov 22 '18 at 15:09
yes you are right. I forgot to check my billing section, now its work.
– Abdul Rafey
Nov 24 '18 at 12:37
add a comment |
This is not entirely true. The inline editor uses cloud functions under the hood. While, yes, you'll need to update your billing, external API calls will be accessible afterwards.
– Nick Felker
Nov 22 '18 at 15:09
yes you are right. I forgot to check my billing section, now its work.
– Abdul Rafey
Nov 24 '18 at 12:37
This is not entirely true. The inline editor uses cloud functions under the hood. While, yes, you'll need to update your billing, external API calls will be accessible afterwards.
– Nick Felker
Nov 22 '18 at 15:09
This is not entirely true. The inline editor uses cloud functions under the hood. While, yes, you'll need to update your billing, external API calls will be accessible afterwards.
– Nick Felker
Nov 22 '18 at 15:09
yes you are right. I forgot to check my billing section, now its work.
– Abdul Rafey
Nov 24 '18 at 12:37
yes you are right. I forgot to check my billing section, now its work.
– Abdul Rafey
Nov 24 '18 at 12:37
add a comment |
You can create an API with the technology that you want, as long as the response from the API can be understand by Dialogflow.
You need to configure it by going to Fulfillment, and point it to your API.
The API needs to respond with this structure: Dialogflow.
And If you plan to integrate with Actions on Google, you have this repository which includes some examples of responses.
And here you have some libraries to interact with Dialogflow with different languages.
Thanks buddy, It works for me.
– Abdul Rafey
Nov 24 '18 at 12:36
If the answer is valid, mind if you set it as best answer? It helps me too
– German Casares
Nov 24 '18 at 22:31
add a comment |
You can create an API with the technology that you want, as long as the response from the API can be understand by Dialogflow.
You need to configure it by going to Fulfillment, and point it to your API.
The API needs to respond with this structure: Dialogflow.
And If you plan to integrate with Actions on Google, you have this repository which includes some examples of responses.
And here you have some libraries to interact with Dialogflow with different languages.
Thanks buddy, It works for me.
– Abdul Rafey
Nov 24 '18 at 12:36
If the answer is valid, mind if you set it as best answer? It helps me too
– German Casares
Nov 24 '18 at 22:31
add a comment |
You can create an API with the technology that you want, as long as the response from the API can be understand by Dialogflow.
You need to configure it by going to Fulfillment, and point it to your API.
The API needs to respond with this structure: Dialogflow.
And If you plan to integrate with Actions on Google, you have this repository which includes some examples of responses.
And here you have some libraries to interact with Dialogflow with different languages.
You can create an API with the technology that you want, as long as the response from the API can be understand by Dialogflow.
You need to configure it by going to Fulfillment, and point it to your API.
The API needs to respond with this structure: Dialogflow.
And If you plan to integrate with Actions on Google, you have this repository which includes some examples of responses.
And here you have some libraries to interact with Dialogflow with different languages.
answered Nov 22 '18 at 17:00
German CasaresGerman Casares
726
726
Thanks buddy, It works for me.
– Abdul Rafey
Nov 24 '18 at 12:36
If the answer is valid, mind if you set it as best answer? It helps me too
– German Casares
Nov 24 '18 at 22:31
add a comment |
Thanks buddy, It works for me.
– Abdul Rafey
Nov 24 '18 at 12:36
If the answer is valid, mind if you set it as best answer? It helps me too
– German Casares
Nov 24 '18 at 22:31
Thanks buddy, It works for me.
– Abdul Rafey
Nov 24 '18 at 12:36
Thanks buddy, It works for me.
– Abdul Rafey
Nov 24 '18 at 12:36
If the answer is valid, mind if you set it as best answer? It helps me too
– German Casares
Nov 24 '18 at 22:31
If the answer is valid, mind if you set it as best answer? It helps me too
– German Casares
Nov 24 '18 at 22:31
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53431544%2fhow-to-make-3rd-party-api-call-in-dialogflows-inline-editor%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown