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;
}







0















How to make 3rd party api call in dialogflow using inline editor please share if you have some code regarding this.
Thank you










share|improve this question































    0















    How to make 3rd party api call in dialogflow using inline editor please share if you have some code regarding this.
    Thank you










    share|improve this question



























      0












      0








      0








      How to make 3rd party api call in dialogflow using inline editor please share if you have some code regarding this.
      Thank you










      share|improve this question
















      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






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 27 '18 at 8:38







      Abdul Rafey

















      asked Nov 22 '18 at 12:55









      Abdul RafeyAbdul Rafey

      365




      365
























          2 Answers
          2






          active

          oldest

          votes


















          2














          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.







          share|improve this answer
























          • 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



















          0














          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.






          share|improve this answer
























          • 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












          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
          });


          }
          });














          draft saved

          draft discarded


















          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









          2














          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.







          share|improve this answer
























          • 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
















          2














          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.







          share|improve this answer
























          • 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














          2












          2








          2







          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.







          share|improve this answer













          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.








          share|improve this answer












          share|improve this answer



          share|improve this answer










          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



















          • 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













          0














          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.






          share|improve this answer
























          • 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
















          0














          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.






          share|improve this answer
























          • 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














          0












          0








          0







          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.






          share|improve this answer













          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.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          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



















          • 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


















          draft saved

          draft discarded




















































          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.




          draft saved


          draft discarded














          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





















































          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







          Popular posts from this blog

          How to change which sound is reproduced for terminal bell?

          Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

          Can I use Tabulator js library in my java Spring + Thymeleaf project?