Has Dialogflow support been discontinued?

I remember seeing the Dialogflow integration available in n8n applications :thinking:

has it been removed?

I am not aware of and existing Dialogflow integration. There is however a feature request regarding it open for a while:

thanks for the answer! I probably confused.

a question, how do I use this code from Dialogflow:

{
  "fulfillmentMessages": [
    {
      "text": {
        "text": [
          "Text response from webhook"
        ]
      }
    }
  ]
}

in a “function” node where I can display the content defined in a SET (text) in the “Text response from webhook” field?

 {
      "nodes": [
        {
          "parameters": {
            "values": {
              "string": [
                {
                  "name": "text",
                  "value": "hello world"
                }
              ]
            },
            "options": {}
          },
          "name": "Set",
          "type": "n8n-nodes-base.set",
          "typeVersion": 1,
          "position": [
            450,
            450
          ]
        },
        {
          "parameters": {
            "functionCode": "\n"
          },
          "name": "Function",
          "type": "n8n-nodes-base.function",
          "typeVersion": 1,
          "position": [
            650,
            450
          ]
        }
      ],
      "connections": {
        "Set": {
          "main": [
            [
              {
                "node": "Function",
                "type": "main",
                "index": 0
              }
            ]
          ]
        }
      }
    }

I tried some ways, but without success …

Here a simple example:

{
  "nodes": [
    {
      "parameters": {
        "values": {
          "string": [
            {
              "name": "text",
              "value": "hello world"
            }
          ]
        },
        "options": {}
      },
      "name": "Set",
      "type": "n8n-nodes-base.set",
      "typeVersion": 1,
      "position": [
        650,
        350
      ]
    },
    {
      "parameters": {
        "functionCode": "return [\n  {\n    json: {\n      \"fulfillmentMessages\": [\n        {\n          \"text\": {\n            \"text\": [\n              $json.text\n            ]\n          }\n        }\n      ]\n  }\n  }\n];"
      },
      "name": "Function",
      "type": "n8n-nodes-base.function",
      "typeVersion": 1,
      "position": [
        850,
        350
      ]
    },
    {
      "parameters": {
        "path": "f912b54f-67e8-47af-9d6b-2e96b004d4bb",
        "responseMode": "lastNode",
        "options": {}
      },
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 1,
      "position": [
        450,
        350
      ],
      "webhookId": "f912b54f-67e8-47af-9d6b-2e96b004d4bb"
    }
  ],
  "connections": {
    "Set": {
      "main": [
        [
          {
            "node": "Function",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Webhook": {
      "main": [
        [
          {
            "node": "Set",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
1 Like

perfect thanks, it worked well.

there is only one problem, in the “Integrations” option it works well.

however, within the “Web demo” it is giving: [empty response]

could you tell me what it could be?

Glad to hear.

Can you please tell what you mean with “Integrations option” and with “Web demo”?

1 Like

I did some tests and it really is something specific to DialogFlow.

Thanks for the help again.