Examples: Functions

Use this function to Log and return variables from any Gooey.AI workflow.

Use this function to Log and return variables from any Gooey.AI workflow.

Computational Mama aka Ambika

7.65K runs

2mo ago

Computational Mama aka Ambika

7.65K runs

2mo ago

Fetch API for the location of the International Space Station

Fetch API for the location of the International Space Station

Takes lat, long as input and returns a JSON object representing the soil's "nitrogen_total", "phosphorous_extractable", "potassium_extractable", "pH" and "texture_class" using the ISDA Soil API

Takes lat, long as input and returns a JSON object representing the soil's "nitrogen_total", "phosphorous_extractable", "potassium_extractable", "pH" and "texture_class" using the ISDA Soil API

Gooey.AI

44 runs

2mo ago

Gooey.AI

44 runs

2mo ago

Call the google search API and search the web. when using this function, remember to give citation URLs to the content you have used to answer the question

Call the google search API and search the web. when using this function, remember to give citation URLs to the content you have used to answer the question

Dev Aggarwal

290 runs

5mo ago

Dev Aggarwal

290 runs

5mo ago

Dev Aggarwal

289 runs

5mo ago

This example collects all the parameters (the user's query, the bot's answer, WhatsApp number number, etc) from the copilot workflow and sends it to an arbitrary endpoint. Alter this example with the REST API of your own server to log every interaction.

This example collects all the parameters (the user's query, the bot's answer, WhatsApp number number, etc) from the copilot workflow and sends it to an arbitrary endpoint. Alter this example with the REST API of your own server to log every interaction.

Computational Mama aka Ambika

1.34K runs

7mo ago

Computational Mama aka Ambika

1.34K runs

7mo ago

Converts an ISO date string (with the source timezone provided as an offset) to the specified timezone.

Converts an ISO date string (with the source timezone provided as an offset) to the specified timezone.

Dev Aggarwal

41 runs

7mo ago

Dev Aggarwal

41 runs

7mo ago

Fetches the current weather given the latitude and longitude of the location using open-meteo api

Fetches the current weather given the latitude and longitude of the location using open-meteo api

Dev Aggarwal

244 runs

10mo ago

Dev Aggarwal

244 runs

10mo ago

Use crypto hashing with your copilot to secure your user data!

https://github.com/brix/crypto-js

Use crypto hashing with your copilot to secure your user data!

https://github.com/brix/crypto-js

Dev Aggarwal

270 runs

9mo ago

Dev Aggarwal

270 runs

9mo ago

Run sandboxed Javascript functions & API calls inside your AI recipes. Connect the best of AI to your own data, server or any API.

This is a minimal example for how to perform a web POST request using the Fetch API and httpbin

Run sandboxed Javascript functions & API calls inside your AI recipes. Connect the best of AI to your own data, server or any API.

This is a minimal example for how to perform a web POST request using the Fetch API and httpbin

Dev Aggarwal

645 runs

10mo ago

Dev Aggarwal

645 runs

10mo ago

Run sandboxed Javascript functions & API calls inside your AI recipes. Connect the best of AI to your own data, server or any API.

This is a minimal example for how to perform a web request using the Fetch API.

Run sandboxed Javascript functions & API calls inside your AI recipes. Connect the best of AI to your own data, server or any API.

This is a minimal example for how to perform a web request using the Fetch API.

Alexander Metzger

236 runs

10mo ago

Alexander Metzger

236 runs

10mo ago