Tasks for Your Agents
Tasks let your agent work without you. Set a schedule or connect an event, and the agent runs on its own.
You’ve built an agent. You’ve made it good. The next step is to stop triggering it yourself.
With tasks, your agent wakes up on its own, does the work, and delivers the result. Here’s what that looks like:
- Sales review prep, every Friday at 8 AM. Your sales agent pulls the latest pipeline data from Salesforce, summarizes the week’s activity, and emails you a report before the team meeting.
- Meeting prep, 15 minutes before each meeting. Your agent sees the calendar event, researches the external attendees, and sends you a briefing while the context is fresh.
- Lead qualification on every form submission. A prospect fills out your Google Form. Your agent reads your ICP document, researches the lead, scores them 1-100, and emails the result to the right rep. A lead scores 87/100? “Book the demo.”
Same agents you’ve already built. The only difference is what wakes them up.
How Tasks Work
Every task follows the same pattern. Something triggers the agent, and the agent receives a prompt, just like a chat message.
The trigger is either time-based (a schedule you define) or event-based (something happening in one of your apps). Either way, the agent gets a prompt and runs.
Scheduled Tasks
A scheduled task runs your agent at a time you choose. To create one, go to your agent’s configuration page, open the Tasks section, and click ”+ Task.” You set three things:
- Name: a label so you can find it later
- Schedule: when it should run
- Prompt: the message your agent receives when it fires
You don’t need to write cron expressions. Just describe the schedule in plain language: “every weekday at 9 AM”, “every 4 hours”, “first Monday of each month.” Gumloop’s AI-powered scheduler converts it for you.
Your agents can also schedule their own tasks through conversation. Tell your agent “remind me to check emails every weekday at 9 AM” and it creates the task itself. Ask it to “show my active schedules” and it lists them. This means your agent can manage its own work over time without you touching the settings page.
Event-Based Triggers
Event-based triggers wake up your agent when something happens in another app. A new email, a Slack message, a form submission, a new row in a spreadsheet.
Setting one up takes three steps:
- Pick the trigger. Choose the app and event type (new email in Gmail, message in a Slack channel, new row in Google Sheets, etc.).
- Connect and configure. Link your credentials and set the specifics: which Gmail label to watch, which Slack channel to monitor, which sheet to track.
- Write the prompt template. Define what your agent should do, using template variables that get replaced with real event data.
For example, a Google Forms trigger for lead qualification might look like:
“New form submission from {Name}, {Company}. Read our ICP document, research them, and score this lead 1-100. Email the result to the sales team.”
When the trigger fires, those placeholders become actual values from the form submission. Your agent processes it just like it would a chat message.