{"id":4126,"date":"2023-05-10T09:22:47","date_gmt":"2023-05-10T07:22:47","guid":{"rendered":"https:\/\/botnation.ai\/how-does-the-data-exchange-with-make-work\/"},"modified":"2026-01-02T15:28:20","modified_gmt":"2026-01-02T14:28:20","slug":"how-does-the-data-exchange-with-make-work","status":"publish","type":"support","link":"https:\/\/botnation.ai\/en\/support\/how-does-the-data-exchange-with-make-work\/","title":{"rendered":"How does the data exchange with Make work?"},"content":{"rendered":"<p>The Botnation webhook allows you to import data via services such as Zapier or Make<\/p>\n\n\n\n<p>Let\u2019s say you want to know the weather in Nantes and display it dynamically \u2013 in real time \u2013 in your chatbot.<\/p>\n\n\n\n<p>It is necessary to use an external weather service and to provide via this service or an intermediate script a response <strong>webhook<\/strong> to <strong>Botnation<\/strong>.<\/p>\n\n\n\n<p>For example via <a href=\"https:\/\/www.make.com\/en\" rel=\"noopener\">Make<\/a> (competitor of <a href=\"https:\/\/zapier.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Zapier<\/a>) it is now a few minutes.<\/p>\n\n\n\n<p>This will be done according to this logic: Botnation -&gt; webhook -&gt; Make -&gt; Make -&gt; Webhook response to Botnation<\/p>\n\n\n\n<p>This last element must be a<a href=\"https:\/\/botnation.ai\/en\/botnation-api-import-and-export-data-via-webhook\/\">\u201cWebhook Response<\/a>\u201d (not incoming webhook) because it must be able to send content in response.<\/p>\n\n\n\n<p>Here is an example of a response configuration that conforms to <a href=\"https:\/\/botnation.ai\/en\/botnation-api-import-and-export-data-via-webhook\/\">our API<\/a>:<\/p>\n\n\n\n<p>On the webhook of answer on Make it will be necessary to indicate JSON in Botnation format. Don\u2019t forget to indicate a \u201cStatus 200\u201d in the header to indicate that the answer is correct and should be interpreted.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/botnation.ai\/wp-content\/uploads\/2023\/05\/image-186.png.webp\" alt=\"\" class=\"wp-image-7382\"><\/figure>\n\n\n\n<p><br>Here is a text version that you can copy and paste.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n        \"botnation\": \"v1\",\n        \"reply\": [{\n                        \"type\": \"text\",\n                        \"value\": \"Hello World!\"\n                },\n{\n\"type\": \"text\",\n\"value\": \"\u00c0 Nantes : {{now}}\"\n},\n{\n\"type\": \"text\",\n\"value\": \"Temp\u00e9rature: {{3.temperature}} \u00b0\"\n},\n{\n\"type\": \"image\",\n\"value\": \"{{3.icon}}\"\n}\n       ]\n}<\/code><\/pre>\n\n\n\n<p>This will then display the current weather in Nantes, plus an image, to the user directly in your chatbot. You can get inspiration for many other modules, including a connection to <a href=\"https:\/\/botnation.ai\/en\/connecting-a-chatbot-to-hubspot-crm\/\">Hubspot<\/a> another external CRM.<\/p>\n\n\n\n<p><strong>Plus:<\/strong><br>\u2013 <a href=\"https:\/\/botnation.ai\/en\/botnation-api-import-and-export-data-via-webhook\/\">Export\/Import of data via Webhook<\/a><br>\u2013 <a href=\"https:\/\/botnation.ai\/en\/zapier-botnation-plugin\/\">The Zapier Botnation plugin<\/a><br>\u2013 <a href=\"https:\/\/botnation.ai\/en\/connecting-a-chatbot-to-hubspot-crm\/\">Connect your chatbot to Hubspot<\/a><br>\u2013 <a href=\"https:\/\/botnation.ai\/en\/connect-a-chatbot-to-pipedrive\/\">Connect your chatbot to Pipedrive<\/a><br>\u2013 <a href=\"https:\/\/botnation.ai\/en\/connecting-a-chatbot-to-zoho-crm\/\">Connect your chatbot to Zoho CRM<\/a><\/p>\n\n\n","protected":false},"featured_media":0,"template":"","meta":{"_acf_changed":false},"categorie-support":[198,221],"class_list":["post-4126","support","type-support","status-publish","hentry","categorie-support-tutorials","categorie-support-web-chatbot-en"],"acf":[],"_links":{"self":[{"href":"https:\/\/botnation.ai\/en\/wp-json\/wp\/v2\/support\/4126","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/botnation.ai\/en\/wp-json\/wp\/v2\/support"}],"about":[{"href":"https:\/\/botnation.ai\/en\/wp-json\/wp\/v2\/types\/support"}],"wp:attachment":[{"href":"https:\/\/botnation.ai\/en\/wp-json\/wp\/v2\/media?parent=4126"}],"wp:term":[{"taxonomy":"categorie-support","embeddable":true,"href":"https:\/\/botnation.ai\/en\/wp-json\/wp\/v2\/categorie-support?post=4126"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}