diff --git a/.gitbook/assets/0 (12).png b/.gitbook/assets/0 (12).png new file mode 100644 index 0000000..c19c228 Binary files /dev/null and b/.gitbook/assets/0 (12).png differ diff --git a/.gitbook/assets/1 (11).png b/.gitbook/assets/1 (11).png new file mode 100644 index 0000000..ec95bd9 Binary files /dev/null and b/.gitbook/assets/1 (11).png differ diff --git a/.gitbook/assets/2 (8).png b/.gitbook/assets/2 (8).png new file mode 100644 index 0000000..469bc7b Binary files /dev/null and b/.gitbook/assets/2 (8).png differ diff --git a/.gitbook/assets/3 (7).png b/.gitbook/assets/3 (7).png new file mode 100644 index 0000000..f4d4934 Binary files /dev/null and b/.gitbook/assets/3 (7).png differ diff --git a/.gitbook/assets/4 (6).png b/.gitbook/assets/4 (6).png new file mode 100644 index 0000000..cb0df1d Binary files /dev/null and b/.gitbook/assets/4 (6).png differ diff --git "a/.gitbook/assets/Screen Recording 2025-01-06 at 3.00.32\342\200\257PM processed.gif" "b/.gitbook/assets/Screen Recording 2025-01-06 at 3.00.32\342\200\257PM processed.gif" new file mode 100644 index 0000000..b74da1a Binary files /dev/null and "b/.gitbook/assets/Screen Recording 2025-01-06 at 3.00.32\342\200\257PM processed.gif" differ diff --git "a/.gitbook/assets/Screen Recording 2025-01-06 at 3.15.23\342\200\257PM processed.gif" "b/.gitbook/assets/Screen Recording 2025-01-06 at 3.15.23\342\200\257PM processed.gif" new file mode 100644 index 0000000..b7a1217 Binary files /dev/null and "b/.gitbook/assets/Screen Recording 2025-01-06 at 3.15.23\342\200\257PM processed.gif" differ diff --git "a/.gitbook/assets/Screenshot 2025-01-06 at 1.26.57\342\200\257PM.png" "b/.gitbook/assets/Screenshot 2025-01-06 at 1.26.57\342\200\257PM.png" new file mode 100644 index 0000000..778af5f Binary files /dev/null and "b/.gitbook/assets/Screenshot 2025-01-06 at 1.26.57\342\200\257PM.png" differ diff --git "a/.gitbook/assets/Screenshot 2025-01-06 at 1.30.12\342\200\257PM.png" "b/.gitbook/assets/Screenshot 2025-01-06 at 1.30.12\342\200\257PM.png" new file mode 100644 index 0000000..b01402c Binary files /dev/null and "b/.gitbook/assets/Screenshot 2025-01-06 at 1.30.12\342\200\257PM.png" differ diff --git "a/.gitbook/assets/Screenshot 2025-01-06 at 1.34.19\342\200\257PM.png" "b/.gitbook/assets/Screenshot 2025-01-06 at 1.34.19\342\200\257PM.png" new file mode 100644 index 0000000..7630e65 Binary files /dev/null and "b/.gitbook/assets/Screenshot 2025-01-06 at 1.34.19\342\200\257PM.png" differ diff --git a/SUMMARY.md b/SUMMARY.md index 14cab54..5dffdff 100644 --- a/SUMMARY.md +++ b/SUMMARY.md @@ -36,6 +36,8 @@ * [How does RAG-based document search work?](guides/how-does-rag-based-document-search-work.md) * [🧩 How to use Gooey Functions?](guides/how-to-use-gooey-functions/README.md) * [✨ LLM-enabled Functions](guides/how-to-use-gooey-functions/llm-enabled-functions.md) + * [How to use SECRETS in Functions?](guides/how-to-use-gooey-functions/how-to-use-secrets-in-functions.md) + * [Frequently Asked Questions about Functions](guides/how-to-use-gooey-functions/frequently-asked-questions-about-functions.md) * [🎞️ How to create AI Animations?](guides/how-to-create-ai-animations.md) * [🤳 How to make amazing AI Art QR Codes?](guides/how-to-make-amazing-ai-art-qr-codes/README.md) * [API tips on AI Art QR Codes](guides/how-to-make-amazing-ai-art-qr-codes/api-tips-on-ai-art-qr-codes.md) @@ -46,6 +48,10 @@ * [Build your avatar with AI](guides/ai-photo-editor/build-your-avatar-with-ai.md) * [🔍 Generate “People Also Ask” SEO Content](guides/generate-people-also-ask-seo-content.md) * [🌐 How to create SEO-Optimized content with AI?](guides/how-to-create-seo-optimized-content-with-ai.md) +* [How to use Workspaces?](guides/how-to-use-workspaces/README.md) + * [How to use Version History?](guides/how-to-use-workspaces/how-to-use-version-history.md) + * [How to add SECRETS in your Workspace?](guides/how-to-use-workspaces/how-to-add-secrets-in-your-workspace.md) + * [Frequently Asked Questions about Workspaces](guides/how-to-use-workspaces/frequently-asked-questions-about-workspaces.md) ## 😇 CONTRIBUTING diff --git a/guides/how-to-use-gooey-functions/frequently-asked-questions-about-functions.md b/guides/how-to-use-gooey-functions/frequently-asked-questions-about-functions.md new file mode 100644 index 0000000..5081f7c --- /dev/null +++ b/guides/how-to-use-gooey-functions/frequently-asked-questions-about-functions.md @@ -0,0 +1,7 @@ +--- +hidden: true +icon: message-question +--- + +# Frequently Asked Questions about Functions + diff --git a/guides/how-to-use-gooey-functions/how-to-use-secrets-in-functions.md b/guides/how-to-use-gooey-functions/how-to-use-secrets-in-functions.md new file mode 100644 index 0000000..62c1468 --- /dev/null +++ b/guides/how-to-use-gooey-functions/how-to-use-secrets-in-functions.md @@ -0,0 +1,55 @@ +--- +icon: key-skeleton +--- + +# How to use SECRETS in Functions? + +Our main aim with Functions is to allow users to chain API calls and connect their other services to Gooey.AI's workflows. Several services like Supabase, Firebase and more require their own API keys. Now you can store them in your [API Keys tab](https://gooey.ai/account/api-keys/) in the Accounts Page. + +### Step 1 + +Head over to [Gooey.AI Functions](https://gooey.ai/functions) + +### **Step 2** + +Set up your API call. In this example, we'll create an API call to Open Weather Map, so that it can share real-time weather stats with the user. + +```javascript +async ({ city_name }) => { + const API_KEY = process.env.YOUR_API_KEY; + if (!API_KEY) throw new Error("API key not found in environment variables."); + const encodedCityName = encodeURIComponent(city_name); + const response = await fetch(`https://api.openweathermap.org/data/2.5/weather?q=${encodedCityName}&appid=${API_KEY}&units=metric`); + if (!response.ok) throw new Error(`Error ${response.status}: ${response.statusText}`); + return { weather_data: await response.json() }; +}; +``` + +Here `process.env.YOUR_API_KEY` calls the secret key from your "Secrets". + +### Step 3 + +Scroll down to the "Secrets" section in the Functions Workflow. Select the API you need for this function to work successfully. + +
+ +### Step 4 + +Hit "Run" and Save the function. + +{% hint style="info" %} +NOTE: Before saving the workflow check if your response output is correct. +{% endhint %} + +### Step 5 + +Add the saved Functions workflow in AI Copilot or other Gooey.AI Workflows. + +
+ +\--- + +Learn more about adding SECRETS to your Workspaces here: + +{% embed url="https://app.gitbook.com/o/9jeaMLKaFVy0VbGEfODs/s/5BFP5RUm6rTLXk8wUSTf/~/changes/201/guides/how-to-use-workspaces/how-to-add-secrets-in-your-workspace" %} + diff --git a/guides/how-to-use-workspaces/README.md b/guides/how-to-use-workspaces/README.md new file mode 100644 index 0000000..dd46a95 --- /dev/null +++ b/guides/how-to-use-workspaces/README.md @@ -0,0 +1,37 @@ +--- +icon: users-medical +--- + +# How to use Workspaces? + +With Workspaces, you will be able to: + +1. Collaborate on saved workflows +2. Access the [Version History](how-to-use-version-history.md) of saved workflows (with comments and the ability to revert to the previous version) +3. Share payment methods (so you can cover the Gooey usage cost for your team members) +4. Assign roles and access levels for team members +5. Shared API secrets (to securely access private APIs) +6. Manage multiple teams independently, each with their own billing details and saved workflows + +### How do I get started with Gooey.AI Workspaces? + +* Start by heading over to your [Gooey.AI Profile Page](https://gooey.ai/account/profile/) +* Click on the drop-down menu on the top right +* Click on “Create New Workspace” +* The page for the new Workspace will be created. You can “edit” the name and other details by clicking on the “Edit” button. And you can buy credits by clicking on “Upgrade” + +![](<../../.gitbook/assets/0 (12).png>) + +* You can also invite new members and assign them roles + +
+ +* All the details for your Workspace are available in the various tabs on the top - + * Members - Total credits remaining in the Workspace, details of your chosen plan, list of all your members and their roles, + * Saved - All the Saved workflows in your Workspace + * API Keys - Keys that are dedicated to this specific Workspace + * Billing + +### How can I activate Workspaces in Gooey.AI? + +If you are interested in using Workspaces with your team or collaborators please connect with us on [sales@gooey.ai](mailto:sales@gooey.ai). diff --git a/guides/how-to-use-workspaces/frequently-asked-questions-about-workspaces.md b/guides/how-to-use-workspaces/frequently-asked-questions-about-workspaces.md new file mode 100644 index 0000000..cf864f1 --- /dev/null +++ b/guides/how-to-use-workspaces/frequently-asked-questions-about-workspaces.md @@ -0,0 +1,6 @@ +--- +icon: message-question +--- + +# Frequently Asked Questions about Workspaces + diff --git a/guides/how-to-use-workspaces/how-to-add-secrets-in-your-workspace.md b/guides/how-to-use-workspaces/how-to-add-secrets-in-your-workspace.md new file mode 100644 index 0000000..0cdd46c --- /dev/null +++ b/guides/how-to-use-workspaces/how-to-add-secrets-in-your-workspace.md @@ -0,0 +1,32 @@ +--- +icon: key-skeleton +--- + +# How to add SECRETS in your Workspace? + +### Step 1 + +Go to the [API tab in the Account Page](https://gooey.ai/account/api-keys/) + +### Step 2 + +Scroll down to the "Secrets" Section + +
+ +### Step 3 + +Add Variable Name for the API and the API key + +
+ +### Step 4 + +Access API key as a variable in the [Functions Workflow](https://gooey.ai/functions) + +
+ +READ MORE ABOUT USE SECRETS in FUNCTIONS here: + +{% embed url="https://docs.gooey.ai/guides/how-to-use-gooey-functions/how-to-add-secrets-in-functions" %} + diff --git a/guides/how-to-use-workspaces/how-to-use-version-history.md b/guides/how-to-use-workspaces/how-to-use-version-history.md new file mode 100644 index 0000000..df3a619 --- /dev/null +++ b/guides/how-to-use-workspaces/how-to-use-version-history.md @@ -0,0 +1,25 @@ +--- +icon: code-fork +--- + +# How to use Version History? + +If you want to revert to a past version of your AI Workflow, you can use our version history tool in Workspaces. + +This is useful if: + +* You realize that your newly “Saved” workflow is failing or not successful +* You accidentally clicked “Update” and your Workflow wasn’t ready or was incomplete +* You want to use the previous version of an AI Workflow and “fork” it + +#### Step 1: Click on the “Options” button on the top right as circled here in red. + +![](<../../.gitbook/assets/2 (8).png>) + +#### Step 2: Click on the version that you want to revert/update to + +
+ +#### Step 3: Make your changes and click the “Update” button + +![](<../../.gitbook/assets/4 (6).png>)