Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 28 additions & 4 deletions content/Cloud/agents.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -162,17 +162,28 @@ For Discord sources, you can configure your agent to receive messages from a Dis

<ThemeImage baseName="agent-io-discord-source" alt="Agent New Discord Source" />

<Callout type="info">
You must have a Discord account linked to your Agentuity account to use Discord Integration. The bot must be invited to your Discord server before it can receive messages.
</Callout>

**Prerequisite: Connecting Your Account**

Before configuring a Discord source, you must first link your personal Discord account to Agentuity. This one-time setup allows Agentuity to see your available servers.

1. Click your user profile name in the bottom-left corner of the App.
2. Select **Account** from the menu that appears.
3. In your Profile settings, find the **Connected accounts** section and click the **Connect account** button to add Discord.
4. Follow the authorization flow in the pop-up window to grant the requested permissions.

**Configuration Steps**

To set up Discord Integration:

1. **Add Discord IO**: Click the plus button in the agent IO visualization and select Discord
2. **Select Server**: Choose a Discord server from your connected servers
3. **Invite Bot**: If the bot isn't already in the server, use the provided invite link to add the Agentuity bot to your Discord server
4. **Tag Bot**: Once configured, tag the bot (@Agentuity) in Discord messages to forward them to your agent

<Callout type="info">
You must have a Discord account linked to your Agentuity account to use Discord Integration. The bot must be invited to your Discord server before it can receive messages.
</Callout>

The Discord Integration provides the following data when a message is forwarded:

- **Message Content**: The text content of the Discord message
Expand Down Expand Up @@ -237,6 +248,19 @@ async def run(request: AgentRequest, response: AgentResponse, context: AgentCont
Discord sources can only be triggered by messages where the bot is tagged in a Discord server. The bot cannot receive all messages in a channel for privacy reasons.
</Callout>

#### Agent SMS Source

For SMS sources, you can connect your Twilio account to allow your agent to be triggered by incoming text messages. This requires providing your Twilio API credentials.

<ThemeImage baseName="agent-io-sms-source" alt="Agent New SMS Source" />

To configure an SMS source, you will need the following credentials from your Twilio console:
- **Account SID**
- **API SID**
- **API Secret**

Once validated, you can select one or more of your Twilio numbers to forward incoming messages to your agent.

#### Agent Schedule Source

For running an agent on a schedule, you can configure your agent to use a cron source. When the agent is scheduled to run, the agent will send the data to the agent's inputs asynchronously without waiting for the agent to finish processing the data.
Expand Down
Binary file added public/images/agent-io-discord-source-dark.png
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 public/images/agent-io-discord-source-light.png
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 public/images/agent-io-sms-source-dark.png
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 public/images/agent-io-sms-source-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.