<?xml version="1.0" encoding="UTF-8" ?><!-- generator=Zoho Sites --><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><atom:link href="https://www.blungo.com/blogs/tag/zoho-cliq/feed" rel="self" type="application/rss+xml"/><title>blungo - Blog #zoho cliq</title><description>blungo - Blog #zoho cliq</description><link>https://www.blungo.com/blogs/tag/zoho-cliq</link><lastBuildDate>Thu, 09 Oct 2025 04:09:47 -0700</lastBuildDate><generator>http://zoho.com/sites/</generator><item><title><![CDATA[Set Up Subdomains for Zoho Apps]]></title><link>https://www.blungo.com/blogs/post/set-up-subdomains-for-zoho-apps</link><description><![CDATA[<img align="left" hspace="5" src="https://www.blungo.com/Blogpost/Thumbnails/Create a subdomain for your Zoho Apps.png"/>In this article, you are going to find a series of tips that will help you with setting up subdomains for Zoho apps. Watch the video for the full tutorial.]]></description><content:encoded><![CDATA[<div class="zpcontent-container blogpost-container "><div data-element-id="elm_8IviC7roTWy1pB8T5m2pag" data-element-type="section" class="zpsection "><style type="text/css"></style><div class="zpcontainer-fluid zpcontainer"><div data-element-id="elm_QTBrCAUDSOyFRlCdpLN1GQ" data-element-type="row" class="zprow zprow-container zpalign-items- zpjustify-content- " data-equal-column=""><style type="text/css"> [data-element-id="elm_QTBrCAUDSOyFRlCdpLN1GQ"].zprow{ border-radius:1px; } </style><div data-element-id="elm_VoIP_gLFRbaPD-J1OwS1cA" data-element-type="column" class="zpelem-col zpcol-12 zpcol-md-12 zpcol-sm-12 zpalign-self- "><style type="text/css"> [data-element-id="elm_VoIP_gLFRbaPD-J1OwS1cA"].zpelem-col{ border-radius:1px; } </style><div data-element-id="elm_TssOjPsmxvJicbm2RWP6Aw" data-element-type="iframe" class="zpelement zpelem-iframe "><style type="text/css"> [data-element-id="elm_TssOjPsmxvJicbm2RWP6Aw"].zpelem-iframe{ border-radius:1px; } </style><div class="zpiframe-container zpiframe-align-center"><iframe class="zpiframe " src="https://www.youtube.com/embed/Si_zaep0VqM" width="560" height="315" align="center" allowfullscreen frameBorder="0"></iframe></div>
</div><div data-element-id="elm__bttFMMbQBeQgsOADxw2gg" data-element-type="heading" class="zpelement zpelem-heading "><style> [data-element-id="elm__bttFMMbQBeQgsOADxw2gg"].zpelem-heading { border-radius:1px; } </style><h2
 class="zpheading zpheading-align-left " data-editor="true">What we are going to do</h2></div>
<div data-element-id="elm_FZnVjR5LTqSOKJv9JmBOGQ" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_FZnVjR5LTqSOKJv9JmBOGQ"].zpelem-text { border-radius:1px; } </style><div class="zptext zptext-align-left " data-editor="true"><p>In this article you are going to find a series of tips that will help you with setting up subdomains for Zoho apps. Watch the video for the full tutorial.</p></div>
</div><div data-element-id="elm_DiNwxandSxP56pZ4iGSklA" data-element-type="heading" class="zpelement zpelem-heading "><style> [data-element-id="elm_DiNwxandSxP56pZ4iGSklA"].zpelem-heading { border-radius:1px; } </style><h2
 class="zpheading zpheading-align-left " data-editor="true">Tips</h2></div>
<div data-element-id="elm_Xxk_NPeah5V5w4v05pp0BQ" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_Xxk_NPeah5V5w4v05pp0BQ"].zpelem-text { border-radius:1px; } </style><div class="zptext zptext-align-left " data-editor="true"><ul><li>On the example we are using Zoho Bookings, but the process is very similar on other Zoho Apps.</li><li>Some Zoho Apps require you to add a verification subdomain to your DNS, besides the actual subdomain you want to use. So, you will be adding 2 records.</li><li>After you add the DNS records, you might have to wait up to 48 hours until they are ready.</li><li>Once you are able to verify the domain, you have to wait until Zoho installs an SSL Certificate to ensure encryption.</li><li>You can use subdomains on these Zoho Apps: Bookings, LandingPage, Desk (Knowledge Database), Recruit (Portals) , Projects, Books, Cliq, Forms, Meetings, Workdrive, Sites, Connect, People, and a lot more.</li></ul></div>
</div></div></div></div></div></div> ]]></content:encoded><pubDate>Mon, 20 Mar 2023 02:14:37 -0700</pubDate></item><item><title><![CDATA[How to Create a ChatGPT Bot in Zoho Cliq]]></title><link>https://www.blungo.com/blogs/post/Create-a-ChatGPT-Bot-Zoho-Cliq</link><description><![CDATA[<img align="left" hspace="5" src="https://www.blungo.com/Blogpost/Thumbnails/Create a chatgpt bot in zoho cliq.png"/>In this tutorial we are going to go over how to create a bot that uses the ChatGPT API to respond to our questions. Once the bot is ready, we are going to add it to a channel. You will be able to use the bot directly or through the channel.]]></description><content:encoded><![CDATA[<div class="zpcontent-container blogpost-container "><div data-element-id="elm_8IviC7roTWy1pB8T5m2pag" data-element-type="section" class="zpsection "><style type="text/css"></style><div class="zpcontainer-fluid zpcontainer"><div data-element-id="elm_QTBrCAUDSOyFRlCdpLN1GQ" data-element-type="row" class="zprow zprow-container zpalign-items- zpjustify-content- " data-equal-column=""><style type="text/css"> [data-element-id="elm_QTBrCAUDSOyFRlCdpLN1GQ"].zprow{ border-radius:1px; } </style><div data-element-id="elm_VoIP_gLFRbaPD-J1OwS1cA" data-element-type="column" class="zpelem-col zpcol-12 zpcol-md-12 zpcol-sm-12 zpalign-self- "><style type="text/css"> [data-element-id="elm_VoIP_gLFRbaPD-J1OwS1cA"].zpelem-col{ border-radius:1px; } </style><div data-element-id="elm_KGYXp4_7hZ9F7ojhEVtoDw" data-element-type="iframe" class="zpelement zpelem-iframe "><style type="text/css"> [data-element-id="elm_KGYXp4_7hZ9F7ojhEVtoDw"].zpelem-iframe{ border-radius:1px; } </style><div class="zpiframe-container zpiframe-align-center"><iframe class="zpiframe " src="https://www.youtube.com/embed/rWeRia2SJrw" width="560" height="315" align="center" allowfullscreen frameBorder="0"></iframe></div>
</div><div data-element-id="elm__bttFMMbQBeQgsOADxw2gg" data-element-type="heading" class="zpelement zpelem-heading "><style> [data-element-id="elm__bttFMMbQBeQgsOADxw2gg"].zpelem-heading { border-radius:1px; } </style><h2
 class="zpheading zpheading-align-left " data-editor="true">What we are going to do</h2></div>
<div data-element-id="elm_FZnVjR5LTqSOKJv9JmBOGQ" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_FZnVjR5LTqSOKJv9JmBOGQ"].zpelem-text { border-radius:1px; } </style><div class="zptext zptext-align-left " data-editor="true"><p>In this tutorial we are going to go over how to create a bot that uses the ChatGPT API to respond to our questions. Once the bot is ready, we are going to add it to a channel. You will be able to use the bot directly or through the channel.&nbsp;<span style="color:inherit;">We are going to use the ChatGPT-3 API, that is not the latest version. The ChatGPT-4 API is not available at the time of creating this tutorial. Once the newer API version is available, we will edit this article.</span></p><p><span style="color:inherit;"><br></span></p><p>If you would like to learn how to create a Slash Command to ask questions to ChatGPT, check out this link.</p></div>
</div><div data-element-id="elm_DiNwxandSxP56pZ4iGSklA" data-element-type="heading" class="zpelement zpelem-heading "><style> [data-element-id="elm_DiNwxandSxP56pZ4iGSklA"].zpelem-heading { border-radius:1px; } </style><h2
 class="zpheading zpheading-align-left " data-editor="true">Pre-requisites</h2></div>
<div data-element-id="elm_Xxk_NPeah5V5w4v05pp0BQ" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_Xxk_NPeah5V5w4v05pp0BQ"].zpelem-text { border-radius:1px; } </style><div class="zptext zptext-align-left " data-editor="true"><ul><li>An OpenAI account.</li></ul></div>
</div><div data-element-id="elm_qQGrfB2Sl8Sn6lgzL7Je6w" data-element-type="heading" class="zpelement zpelem-heading "><style> [data-element-id="elm_qQGrfB2Sl8Sn6lgzL7Je6w"].zpelem-heading { border-radius:1px; } </style><h2
 class="zpheading zpheading-align-left " data-editor="true">Creating the Bot</h2></div>
<div data-element-id="elm_TFRPDqt8lz3vXWSnA1aVhQ" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_TFRPDqt8lz3vXWSnA1aVhQ"].zpelem-text { border-radius:1px; } </style><div class="zptext zptext-align-left " data-editor="true"><ol><li>In Zoho Cliq, click on your profile picture, and go to &quot;Bots &amp; Tools&quot;.</li><li>On the Bots tab, click on the &quot;Create Bot&quot; button<br></li><li>Name the Bot: for this example we are going to name it &quot;ChatGPT&quot;</li><li>Choose the access level: we are going to choose &quot;organization&quot;, so anyone in our organization can use this bot</li><li><span style="color:inherit;">Under Channel Participation, select &quot;Allow users to add this bot to any channel&quot;. Also check &quot;Send messages&quot;, &quot;Listen to Messages&quot; and &quot;auto-follow threads&quot;. This is important because we are going to add the bot to a channel later on.</span><br></li><li>Optional: add a bot image</li><li>Click on &quot;Save Bot&quot;</li></ol></div>
</div><div data-element-id="elm_KeLLX98_CvputMb1INmu8A" data-element-type="heading" class="zpelement zpelem-heading "><style> [data-element-id="elm_KeLLX98_CvputMb1INmu8A"].zpelem-heading { border-radius:1px; } </style><h2
 class="zpheading zpheading-align-left " data-editor="true">Adding the Message Handler Code</h2></div>
<div data-element-id="elm_HgKHqzMlyLRFf0srvnx6Kg" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_HgKHqzMlyLRFf0srvnx6Kg"].zpelem-text { border-radius:1px; } </style><div class="zptext zptext-align-left " data-editor="true"><ol><li>On the &quot;Bots&quot; tab, hover over the bot and click on &quot;Edit Handlers&quot;<br></li><li>Now click on &quot;Edit Code&quot; below &quot;Message Handler&quot;</li><li>Copy the code below.</li><li>Paste the code in the code box.</li><li>In OpenAI account, go to the settings and click on the &quot;API Keys&quot; tab (or use <a href="https://platform.openai.com/account/api-keys" title="this link" rel="">this link</a>).<br></li><li>Generate a new secret key and copy it.</li><li>Back in Zoho Cliq, replace the key &quot;XXXXXXXXXXXX&quot; with the one you generated.<br></li><li>Cliq on Save.</li></ol><div><br></div><div>That's it. The bot should be working. To test it, you can use the side chat panel. The first time you try to use it, you will have to grant some permissions first.</div></div>
</div><div data-element-id="elm_ciq0YZMJ43EG0UdZ9rjivg" data-element-type="box" class="zpelem-box zpelement zpbox-container zpdefault-section zpdefault-section-bg "><style type="text/css"> [data-element-id="elm_ciq0YZMJ43EG0UdZ9rjivg"].zpelem-box{ background-color:#B2EA79; background-image:unset; border-style:solid; border-color:#04EA04 !important; border-width:1px; border-radius:5px; padding:20px; } </style><div data-element-id="elm_KmFzfv5GP7K1sB8gq6TcFg" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_KmFzfv5GP7K1sB8gq6TcFg"].zpelem-text { border-radius:1px; padding:0px; margin:0px; } </style><div class="zptext zptext-align-left " data-editor="true"><div style="color:inherit;"><div>//Message Handler Code</div><div>response = Map();</div><div><span style="color:inherit;">question = message;</span><br></div><div>// Add Open AI token</div><div>token = &quot;Bearer XXXXXXXXXXXX&quot;;</div><div>//</div><div>header = Map();</div><div>header.put(&quot;Authorization&quot;,token);</div><div>header.put(&quot;Content-Type&quot;,&quot;application/json&quot;);</div><div>params = {&quot;model&quot;:&quot;text-davinci-003&quot;,&quot;prompt&quot;:question,&quot;temperature&quot;:0.4,&quot;top_p&quot;:1,&quot;max_tokens&quot;:256,&quot;frequency_penalty&quot;:0,&quot;presence_penalty&quot;:0,&quot;stop&quot;:{&quot; Human:&quot;,&quot; AI:&quot;}};</div><div>fetchCompletions = invokeurl</div><div>[</div><div>url :&quot;https://api.openai.com/v1/completions&quot;</div><div>type :POST</div><div>parameters:params.toString()</div><div>headers:header</div><div>detailed:true</div><div>];</div><div>info &quot;Fetch completions: &quot; + fetchCompletions;</div><div>if(fetchCompletions.get(&quot;responseCode&quot;) == 200)</div><div>{</div><div>answer = fetchCompletions.get(&quot;responseText&quot;).get(&quot;choices&quot;).getJSON(&quot;text&quot;);</div><div>response.put(&quot;text&quot;,answer);</div><div>}</div><div>else if(fetchCompletions.get(&quot;responseCode&quot;) == 429)</div><div>{</div><div>response = {&quot;text&quot;:&quot;I can't help with this. Try asking something else.&quot;};</div><div>}</div><div>return response;</div></div></div>
</div></div><div data-element-id="elm_1jctI-J1lJnhrIE6XeStEw" data-element-type="heading" class="zpelement zpelem-heading "><style> [data-element-id="elm_1jctI-J1lJnhrIE6XeStEw"].zpelem-heading { border-radius:1px; } </style><h2
 class="zpheading zpheading-align-left " data-editor="true">Adding the Bot to a Channel and edit the Participation Handler</h2></div>
<div data-element-id="elm_75pcWOdATZDgq5ZJJ-cggg" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_75pcWOdATZDgq5ZJJ-cggg"].zpelem-text { border-radius:1px; } </style><div class="zptext zptext-align-left " data-editor="true"><ol><li>Add the bot to the channel, as you would add a user to the channel.</li><li>Now go to &quot;Bots &amp; Tools&quot;.</li><li>On the &quot;Bots&quot; tab, hover over the ChatGPT Bot and click on &quot;Edit Handlers&quot;.<br></li><li>Now click on &quot;Edit Code&quot; below &quot;Participation Handler&quot;.</li><li>Copy the code below.</li><li>Paste the code in the code box.</li><li>Save the changes.</li><li>Go back to the &quot;Message Handler&quot; code, and copy the ChatGTP API Key.</li><li>Back in the &quot;Participation Handler&quot;, replace the key &quot;XXXXXXXXXXXX&quot; with the one you copied.<br></li><li>Save the changes again.</li></ol><div><br></div><div>The bot is ready to answer to any questions you post on the channel. To test it out, just send a message in the channel and wait for the ChatGPT response.</div></div>
</div><div data-element-id="elm_GPq2-zqqgLsxBsLmbZtlvg" data-element-type="box" class="zpelem-box zpelement zpbox-container zpdefault-section zpdefault-section-bg "><style type="text/css"> [data-element-id="elm_GPq2-zqqgLsxBsLmbZtlvg"].zpelem-box{ background-color:#B2EA79; background-image:unset; border-style:solid; border-color:#04EA04 !important; border-width:1px; border-radius:5px; padding:20px; } </style><div data-element-id="elm_0MijW0jMrmIgU75cTL4EWg" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_0MijW0jMrmIgU75cTL4EWg"].zpelem-text { border-radius:1px; padding:0px; margin:0px; } </style><div class="zptext zptext-align-left " data-editor="true"><div style="color:inherit;"><div>//Participation Handler Code</div><div><div style="color:inherit;"><div style="color:inherit;"><div>response = Map();</div><div>if(operation == &quot;message_sent&quot;)</div><div>{</div><div>if(data.get(&quot;message&quot;).get(&quot;type&quot;) == &quot;text&quot;)</div><div>{</div><div>response = Map();</div><div>question = data.get(&quot;message&quot;).get(&quot;text&quot;);</div><div>token = &quot;Bearer XXXXXXXXXXXX&quot;;</div><div>header = Map();</div><div>header.put(&quot;Authorization&quot;,token);</div><div>header.put(&quot;Content-Type&quot;,&quot;application/json&quot;);</div><div>params = {&quot;model&quot;:&quot;text-davinci-003&quot;,&quot;prompt&quot;:question,&quot;temperature&quot;:0.9,&quot;max_tokens&quot;:256,&quot;top_p&quot;:1,&quot;frequency_penalty&quot;:0,&quot;presence_penalty&quot;:0,&quot;stop&quot;:{&quot; Human:&quot;,&quot; AI:&quot;}};</div><div>fetchCompletions = invokeurl</div><div>[</div><div>url :&quot;https://api.openai.com/v1/completions&quot;</div><div>type :POST</div><div>parameters:params.toString()</div><div>detailed : true</div><div>headers:header</div><div>];</div><div>if(fetchCompletions.get(&quot;responseCode&quot;) == 200)</div><div>{</div><div>answer = fetchCompletions.get(&quot;responseText&quot;).get(&quot;choices&quot;).getJSON(&quot;text&quot;);</div><div>info &quot;answer&quot; + answer;</div><div>response.put(&quot;text&quot;,answer);</div><div>}</div><div>else if(fetchCompletions.get(&quot;responseCode&quot;) == 429)</div><div>{</div><div>&nbsp;response = {&quot;text&quot;:&quot;<span style="color:inherit;">I can't help with this. Try asking something else.</span>&quot;};</div><div>}</div><div>}</div><div>}</div><div>return response ;</div></div></div></div></div></div>
</div></div></div></div></div></div></div> ]]></content:encoded><pubDate>Sat, 25 Feb 2023 11:39:34 -0800</pubDate></item><item><title><![CDATA[Create a ChatGPT Slash Command in Zoho Cliq]]></title><link>https://www.blungo.com/blogs/post/Create-a-ChatGPT-Slash-Command-in-Zoho-Cliq</link><description><![CDATA[<img align="left" hspace="5" src="https://www.blungo.com/Blogpost/Thumbnails/Create a chatgpt slash command.png"/>In this tutorial, we are going to go over how to create a slash command in Zoho Cliq, so you can ask questions to ChatGPT directly in Cliq.]]></description><content:encoded><![CDATA[<div class="zpcontent-container blogpost-container "><div data-element-id="elm_8IviC7roTWy1pB8T5m2pag" data-element-type="section" class="zpsection "><style type="text/css"></style><div class="zpcontainer-fluid zpcontainer"><div data-element-id="elm_QTBrCAUDSOyFRlCdpLN1GQ" data-element-type="row" class="zprow zprow-container zpalign-items- zpjustify-content- " data-equal-column=""><style type="text/css"> [data-element-id="elm_QTBrCAUDSOyFRlCdpLN1GQ"].zprow{ border-radius:1px; } </style><div data-element-id="elm_VoIP_gLFRbaPD-J1OwS1cA" data-element-type="column" class="zpelem-col zpcol-12 zpcol-md-12 zpcol-sm-12 zpalign-self- "><style type="text/css"> [data-element-id="elm_VoIP_gLFRbaPD-J1OwS1cA"].zpelem-col{ border-radius:1px; } </style><div data-element-id="elm_Au-KS9B2rZO9fZBiSL1FKw" data-element-type="iframe" class="zpelement zpelem-iframe "><style type="text/css"> [data-element-id="elm_Au-KS9B2rZO9fZBiSL1FKw"].zpelem-iframe{ border-radius:1px; } </style><div class="zpiframe-container zpiframe-align-center"><iframe class="zpiframe " src="https://www.youtube.com/embed/Ctft87QFdNc" width="560" height="315" align="center" allowfullscreen frameBorder="0"></iframe></div>
</div><div data-element-id="elm__bttFMMbQBeQgsOADxw2gg" data-element-type="heading" class="zpelement zpelem-heading "><style> [data-element-id="elm__bttFMMbQBeQgsOADxw2gg"].zpelem-heading { border-radius:1px; } </style><h2
 class="zpheading zpheading-align-left " data-editor="true">What we are going to do</h2></div>
<div data-element-id="elm_FZnVjR5LTqSOKJv9JmBOGQ" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_FZnVjR5LTqSOKJv9JmBOGQ"].zpelem-text { border-radius:1px; } </style><div class="zptext zptext-align-left " data-editor="true"><p>In this tutorial we are going to go over how to create a slash command in Zoho Cliq, so you can ask questions to ChatGPT directly in Cliq. Once you get the answer, you will be able to post them on any chat or channel.&nbsp;<span style="color:inherit;">We are going to use the ChatGPT-3 API, that is not the latest version. The ChatGPT-4 API is not available at the time of creating this tutorial. Once the newer API version is available, we will edit this article.</span></p></div>
</div><div data-element-id="elm_DiNwxandSxP56pZ4iGSklA" data-element-type="heading" class="zpelement zpelem-heading "><style> [data-element-id="elm_DiNwxandSxP56pZ4iGSklA"].zpelem-heading { border-radius:1px; } </style><h2
 class="zpheading zpheading-align-left " data-editor="true">Pre-requisites</h2></div>
<div data-element-id="elm_Xxk_NPeah5V5w4v05pp0BQ" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_Xxk_NPeah5V5w4v05pp0BQ"].zpelem-text { border-radius:1px; } </style><div class="zptext zptext-align-left " data-editor="true"><ul><li>An OpenAI account.</li></ul></div>
</div><div data-element-id="elm_qQGrfB2Sl8Sn6lgzL7Je6w" data-element-type="heading" class="zpelement zpelem-heading "><style> [data-element-id="elm_qQGrfB2Sl8Sn6lgzL7Je6w"].zpelem-heading { border-radius:1px; } </style><h2
 class="zpheading zpheading-align-left " data-editor="true">Creating the Command</h2></div>
<div data-element-id="elm_TFRPDqt8lz3vXWSnA1aVhQ" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_TFRPDqt8lz3vXWSnA1aVhQ"].zpelem-text { border-radius:1px; } </style><div class="zptext zptext-align-left " data-editor="true"><ol><li>In Zoho Cliq, click on your profile picture, and go to &quot;Bots &amp; Tools&quot;.</li><li>On the left, click on &quot;Commands&quot;</li><li>Click on the &quot;Create Command&quot; button</li><li>Name the command: for this example we are going to name it &quot;chatgpt&quot;</li><li>Add a Hint: for example, ChatGPT answers your questions.</li><li>Choose the access level: we are going to choose &quot;organization&quot;</li><li>Optional: add an image</li><li>Click on &quot;Save &amp; Edit Code&quot;</li></ol></div>
</div><div data-element-id="elm_KeLLX98_CvputMb1INmu8A" data-element-type="heading" class="zpelement zpelem-heading "><style> [data-element-id="elm_KeLLX98_CvputMb1INmu8A"].zpelem-heading { border-radius:1px; } </style><h2
 class="zpheading zpheading-align-left " data-editor="true">Editing the Code</h2></div>
<div data-element-id="elm_HgKHqzMlyLRFf0srvnx6Kg" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_HgKHqzMlyLRFf0srvnx6Kg"].zpelem-text { border-radius:1px; } </style><div class="zptext zptext-align-left " data-editor="true"><div><span style="text-decoration-line:underline;">On the Execution Handler tab:</span></div><ol><li>Delete the code that is already there.<br></li><li>Copy the code below.</li><li>Paste the code in the &quot;Execution Handler&quot; tab.</li><li>In OpenAI account, go to the settings and click on the &quot;API Keys&quot; tab (or use <a href="https://platform.openai.com/account/api-keys" title="this link" rel="">this link</a>).<br></li><li>Generate a new secret key and copy it.</li><li>Back in Zoho Cliq, replace the key &quot;XXXXXXXXXXXX&quot; with the one you generated.<br></li><li>Cliq on Save.</li></ol><div><br></div><div><span style="text-decoration-line:underline;">On the Suggestion Handler tab:</span></div><div><ol><li>Remove the code.</li><li>Click on Save</li></ol></div></div>
</div><div data-element-id="elm_1jctI-J1lJnhrIE6XeStEw" data-element-type="heading" class="zpelement zpelem-heading "><style> [data-element-id="elm_1jctI-J1lJnhrIE6XeStEw"].zpelem-heading { border-radius:1px; } </style><h2
 class="zpheading zpheading-align-left " data-editor="true">Testing the Command</h2></div>
<div data-element-id="elm_75pcWOdATZDgq5ZJJ-cggg" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_75pcWOdATZDgq5ZJJ-cggg"].zpelem-text { border-radius:1px; } </style><div class="zptext zptext-align-left " data-editor="true"><ol><li>Open a chat or channel in Zoho Cliq</li><li>Tipe <span style="background-color:rgb(178, 234, 121);">/chatgpt</span> and press Enter</li><li>The first time you use the Command, you will have to allow the Command to access certain information. Click on &quot;Proceed to Allow&quot;.</li><li>Type a prompt. For example, &quot;what is Zoho Cliq?&quot;.</li><li>Press enter to send the message.</li><li>The Command responded to you. The message is visible to you only.</li><li>Use one of the options for the message: post it on the chat, forward it to other chats or channels, or close it. If you don't choose any of the options, when you close the chat, the message will be closed automatically.</li></ol></div>
</div><div data-element-id="elm_XuwatqdttEC16RHlDDYOcQ" data-element-type="heading" class="zpelement zpelem-heading "><style> [data-element-id="elm_XuwatqdttEC16RHlDDYOcQ"].zpelem-heading { border-radius:1px; } </style><h2
 class="zpheading zpheading-align-left " data-editor="true">Code</h2></div>
<div data-element-id="elm_ciq0YZMJ43EG0UdZ9rjivg" data-element-type="box" class="zpelem-box zpelement zpbox-container zpdefault-section zpdefault-section-bg "><style type="text/css"> [data-element-id="elm_ciq0YZMJ43EG0UdZ9rjivg"].zpelem-box{ background-color:#B2EA79; background-image:unset; border-style:solid; border-color:#04EA04 !important; border-width:1px; border-radius:5px; padding:20px; } </style><div data-element-id="elm_KmFzfv5GP7K1sB8gq6TcFg" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_KmFzfv5GP7K1sB8gq6TcFg"].zpelem-text { border-radius:1px; padding:0px; margin:0px; } </style><div class="zptext zptext-align-left " data-editor="true"><div><div><div><div style="color:inherit;"><div>response = Map();</div><div>// Creating the card</div><div>card = Map();</div><div>card.put(&quot;theme&quot;,&quot;modern-inline&quot;);</div><div>card.put(&quot;title&quot;,&quot;ChatGTP&quot;);</div><div>// Add Open AI token</div><div>token = &quot;Bearer XXXXXXXXXXXX&quot;;</div><div>//</div><div>header = Map();</div><div>header.put(&quot;Authorization&quot;,token);</div><div>header.put(&quot;Content-Type&quot;,&quot;application/json&quot;);</div><div>params = {&quot;model&quot;:&quot;text-davinci-003&quot;,&quot;prompt&quot;:arguments,&quot;temperature&quot;:0.4,&quot;top_p&quot;:1,&quot;max_tokens&quot;:256,&quot;frequency_penalty&quot;:0,&quot;presence_penalty&quot;:0,&quot;stop&quot;:{&quot; Human:&quot;,&quot; AI:&quot;}};</div><div>fetchCompletions = invokeurl</div><div>[</div><div>url :&quot;https://api.openai.com/v1/completions&quot;</div><div>type :POST</div><div>parameters:params.toString()</div><div>headers:header</div><div>detailed:true</div><div>];</div><div>info &quot;Fetch completions: &quot; + fetchCompletions;</div><div>if(fetchCompletions.get(&quot;responseCode&quot;) == 200)</div><div>{</div><div>answer = fetchCompletions.get(&quot;responseText&quot;).get(&quot;choices&quot;).getJSON(&quot;text&quot;);</div><div>response.put(&quot;text&quot;,answer);</div><div>}</div><div>else if(fetchCompletions.get(&quot;responseCode&quot;) == 429)</div><div>{</div><div>response = {&quot;text&quot;:&quot;Oops! I can't help with this. Try asking something else :wink:&quot;};</div><div>}</div><div>// Adding response to the card</div><div>response.put(&quot;card&quot;,card);</div><div>//</div><div>return response;</div></div></div></div></div></div>
</div></div></div></div></div></div></div> ]]></content:encoded><pubDate>Sat, 25 Feb 2023 11:03:58 -0800</pubDate></item></channel></rss>