-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6ffe804
commit 9c02188
Showing
17 changed files
with
168 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.12 MB
.gitbook/assets/Screen Recording 2025-01-06 at 3.00.32 PM processed.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+5.8 MB
.gitbook/assets/Screen Recording 2025-01-06 at 3.15.23 PM processed.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
guides/how-to-use-gooey-functions/frequently-asked-questions-about-functions.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
hidden: true | ||
icon: message-question | ||
--- | ||
|
||
# Frequently Asked Questions about Functions | ||
|
55 changes: 55 additions & 0 deletions
55
guides/how-to-use-gooey-functions/how-to-use-secrets-in-functions.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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.   | ||
|
||
<figure><img src="../../.gitbook/assets/Screen Recording 2025-01-06 at 3.00.32 PM processed.gif" alt=""><figcaption></figcaption></figure> | ||
|
||
### 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.  | ||
|
||
<figure><img src="../../.gitbook/assets/Screen Recording 2025-01-06 at 3.15.23 PM processed.gif" alt=""><figcaption></figcaption></figure> | ||
|
||
\--- | ||
|
||
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" %} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
|
||
<figure><img src="../../.gitbook/assets/1 (11).png" alt=""><figcaption></figcaption></figure> | ||
|
||
* 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? <a href="#lnsbsam44owq" id="lnsbsam44owq"></a> | ||
|
||
If you are interested in using Workspaces with your team or collaborators please connect with us on [sales@gooey.ai](mailto:sales@gooey.ai). |
6 changes: 6 additions & 0 deletions
6
guides/how-to-use-workspaces/frequently-asked-questions-about-workspaces.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
icon: message-question | ||
--- | ||
|
||
# Frequently Asked Questions about Workspaces | ||
|
32 changes: 32 additions & 0 deletions
32
guides/how-to-use-workspaces/how-to-add-secrets-in-your-workspace.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
|
||
<figure><img src="../../.gitbook/assets/Screenshot 2025-01-06 at 1.26.57 PM.png" alt=""><figcaption></figcaption></figure> | ||
|
||
### Step 3 | ||
|
||
Add Variable Name for the API and the API key  | ||
|
||
<figure><img src="../../.gitbook/assets/Screenshot 2025-01-06 at 1.30.12 PM.png" alt=""><figcaption></figcaption></figure> | ||
|
||
### Step 4 | ||
|
||
Access API key as a variable in the [Functions Workflow](https://gooey.ai/functions) | ||
|
||
<figure><img src="../../.gitbook/assets/Screenshot 2025-01-06 at 1.34.19 PM.png" alt=""><figcaption></figcaption></figure> | ||
|
||
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" %} | ||
|
25 changes: 25 additions & 0 deletions
25
guides/how-to-use-workspaces/how-to-use-version-history.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. <a href="#id-3sl778mlih78" id="id-3sl778mlih78"></a> | ||
|
||
![](<../../.gitbook/assets/2 (8).png>) | ||
|
||
#### Step 2: Click on the version that you want to revert/update to <a href="#id-82g02dybd0vt" id="id-82g02dybd0vt"></a> | ||
|
||
<figure><img src="../../.gitbook/assets/3 (7).png" alt=""><figcaption></figcaption></figure> | ||
|
||
#### Step 3: Make your changes and click the “Update” button <a href="#so12tkc7vb9k" id="so12tkc7vb9k"></a> | ||
|
||
![](<../../.gitbook/assets/4 (6).png>) |