> ## Documentation Index
> Fetch the complete documentation index at: https://resources.athenaintel.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Home

Task Studio is a powerful automation platform that allows you to deploy and manage repeatable workflows within your organization.

<Info>This documentation is intended for technical builder users who are responsible for creating and managing automated workflows. Users should have experience with scripting, workflow automation, and system integration concepts.</Info>

<Frame>
  <iframe title="vimeo-player" src="https://player.vimeo.com/video/1138283158?h=c132978894" width="640" height="360" frameborder="0" referrerpolicy="strict-origin-when-cross-origin" allow="autoplay; fullscreen; picture-in-picture; clipboard-write; encrypted-media; web-share" allowfullscreen />
</Frame>

## Tasks

Tasks are automated scripts that can be configured to run based on specific triggers or schedules. Each task in the system can be configured through three actions:

* **Set Schedule**: Define when and how often a task should automatically run using options like daily, weekly, or monthly intervals and specific times.

<Frame>
  <img height="500" width="500" src="https://mintcdn.com/athenaintelligence-e46bc9d3/OBkMdG4Mol-ZSoKV/images/task-studio3.png?fit=max&auto=format&n=OBkMdG4Mol-ZSoKV&q=85&s=b8a3a030b46eb3fe608bef6715e6bd2a" data-path="images/task-studio3.png" />
</Frame>

* **Set Trigger**: Configure which events (like receiving an email, uploading files, or end of a meeting) will automatically start your task.

<Frame>
  <img height="500" width="500" src="https://mintcdn.com/athenaintelligence-e46bc9d3/OBkMdG4Mol-ZSoKV/images/task-studio4.png?fit=max&auto=format&n=OBkMdG4Mol-ZSoKV&q=85&s=809c8f38069dcf29ddb301b30e9989b9" data-path="images/task-studio4.png" />
</Frame>

<br />

<Accordion title="You can receive email notifications upon task completion!">
  Athena runs tasks on receiving emails and once she completes running a task, she sends you an email with the task results. Follow the steps below to set this up:

  <Steps>
    <Step title="Go to your task">
      Navigate to **Task Studio -> [Home](https://app.athenaintel.com/dashboard/task-studio/home/)** from the applications sidebar on the left.

      <Frame>
        <img height="300" width="300" src="https://mintcdn.com/athenaintelligence-e46bc9d3/V53OSPi_kGPQxNg3/images/trigger-step1.png?fit=max&auto=format&n=V53OSPi_kGPQxNg3&q=85&s=e8531e5f8f52b0f091e5b14fa4635b44" data-path="images/trigger-step1.png" />
      </Frame>
    </Step>

    <Step title="Set an email trigger">
      Click on **Set Trigger** for the task you would like to run upon receival of an email.

      <Frame>
        <img src="https://mintcdn.com/athenaintelligence-e46bc9d3/V53OSPi_kGPQxNg3/images/trigger-step2.1.png?fit=max&auto=format&n=V53OSPi_kGPQxNg3&q=85&s=e50f853fb56c86699e013c7f9571716d" width="2262" height="472" data-path="images/trigger-step2.1.png" />
      </Frame>

      Select **When I send an email to Athena**.

      <Frame>
        <img src="https://mintcdn.com/athenaintelligence-e46bc9d3/V53OSPi_kGPQxNg3/images/trigger-step2.2.png?fit=max&auto=format&n=V53OSPi_kGPQxNg3&q=85&s=ed03c3862ba8e44725706d40c50e7b9c" width="1206" height="776" data-path="images/trigger-step2.2.png" />
      </Frame>
    </Step>

    <Step title="Choose custom email address">
      Set a custom email address for your task. Leave the slug empty to use the default address. Enter the following in **your\_slug** and click on the **Copy** icon. Press **Configure**.

      <CodeBlock filename="Email slug">
        emailtrigger
      </CodeBlock>

      <Frame>
        <img src="https://mintcdn.com/athenaintelligence-e46bc9d3/V53OSPi_kGPQxNg3/images/trigger-step3.png?fit=max&auto=format&n=V53OSPi_kGPQxNg3&q=85&s=d7d64d793dca79ffe7119e1a29c186f0" width="1206" height="776" data-path="images/trigger-step3.png" />
      </Frame>
    </Step>

    <Step title="Run the task">
      Go to your email inbox and send an email to the address copied from the previous step.

      <Frame>
        <img src="https://mintcdn.com/athenaintelligence-e46bc9d3/V53OSPi_kGPQxNg3/images/trigger-step4.png?fit=max&auto=format&n=V53OSPi_kGPQxNg3&q=85&s=834541e2e825c860366e9ea0d9aace46" width="974" height="400" data-path="images/trigger-step4.png" />
      </Frame>
    </Step>

    <Step title="Receive task completion email">
      Once completed, you will get an email with the results of the task. You can also see the status of the task completion in [Task Runs](https://resources.athenaintel.com/docs/task-studio/task-runs).

      <Frame>
        <img src="https://mintcdn.com/athenaintelligence-e46bc9d3/V53OSPi_kGPQxNg3/images/trigger-step5.png?fit=max&auto=format&n=V53OSPi_kGPQxNg3&q=85&s=41177f8ea82141a9878e6df606193bf4" width="1272" height="972" data-path="images/trigger-step5.png" />
      </Frame>
    </Step>
  </Steps>
</Accordion>

* **Go to Task**: View the task's details and run it immediately, with additional options to set up schedules and triggers directly

<Frame>
  <img src="https://mintcdn.com/athenaintelligence-e46bc9d3/OBkMdG4Mol-ZSoKV/images/task-studio5.png?fit=max&auto=format&n=OBkMdG4Mol-ZSoKV&q=85&s=b93ebf10284eecc99a5a8e064937395f" width="2268" height="590" data-path="images/task-studio5.png" />
</Frame>

## Active Triggers & Schedules

This section provides visibility into how tasks are initiated:

1. **Event Triggers** - Shows tasks configured to run in response to specific events. For example, the interface shows a task **Get Redactions for Asset** that runs when Athena receives an email.

2. **Recurring Schedules** - Displays any tasks set to run on a regular schedule. For example, the interface shows a task **Get Redactions for Asset** that runs every 12 hours.

<Frame>
  <img src="https://mintcdn.com/athenaintelligence-e46bc9d3/OBkMdG4Mol-ZSoKV/images/task-studio2.png?fit=max&auto=format&n=OBkMdG4Mol-ZSoKV&q=85&s=3f9132722426fd4bdca33f2c221e0465" width="2176" height="400" data-path="images/task-studio2.png" />
</Frame>

## Example Tasks

### Integrate Athena Agents

You can integrate Athena agents with your custom Python scripts to function as a research assistant, enabling the system to search for publicly available data about the associated company, visit the company's website for additional details, and compile a comprehensive summary.

<Tip>[Watch](https://youtu.be/ZA_Z-rHdFlU) these in action!</Tip>

### Connect Salesforce

You can integrate Athena agents with your custom Python scripts to streamline Salesforce data management by automatically connecting to Salesforce, extracting information about the top 20 customer accounts, and utilizing Athena agents to gather recent news about these customers.

<Frame>
  <img src="https://mintcdn.com/athenaintelligence-e46bc9d3/XOzR0DdNhB1vkjEH/images/salesforce.png?fit=max&auto=format&n=XOzR0DdNhB1vkjEH&q=85&s=7e48db65f1191978fbb60a748fb8f201" width="3420" height="1892" data-path="images/salesforce.png" />
</Frame>

### Data Extraction Pipelines

Athena enables enterprises to build customized data extraction pipelines tailored to their specific needs using its robust [SDK](https://docs.athenaintel.com/api-reference/tools/structured-data-extractor/invoke). By defining precise data extraction prompts, users can extract structured data from various document types, such as lease ledgers and manuals, with high accuracy.

<Tip>[Watch](https://youtu.be/mjia-GWqZh4) this in action!</Tip>
