# Agentic AI in Action- Part 33: Your Monday Sales Digest with CoWork Automations

> Source: <https://pub.towardsai.net/agentic-ai-in-action-part-33-your-monday-sales-digest-with-cowork-automations-288ef0d5326a?source=rss----98111c9905da---4>
> Published: 2026-11-24 04:21:32+00:00

**Key takeaway:** Adding an agent to CoWork requires running a statement that adds it to the CoWork object, after which the Agent Studio "Added to CoWork" column reads Yes and the agent appears in the CoWork dropdown.

Every Monday, someone on the sales team opens a dashboard, checks last week’s numbers and writes a short summary for the team. It takes about twenty minutes, and nobody enjoys it.

Automations in Snowflake CoWork are now generally available, and they handle exactly this kind of chore. You ask a question once, and CoWork reruns it on a schedule and emails you the answer. In this post we build that Monday digest from scratch. It takes about ten minutes, and you only need a role that can create tables and agents.

An Automation takes a question you already asked CoWork and turns it into a recurring report. On each run, CoWork asks the same question against current data, then emails you a summary, the key metrics and a link that opens the full report in CoWork so you can ask follow up questions.

There are three things worth knowing before we start.

We will build a weekly sales digest. It compares the last seven days with the seven days before, breaks sales down by category and region, and points out what moved the most. CoWork emails it every Monday at 8 AM, so we don’t have to build it by hand. We use a sales table, a semantic view on top of it and a Cortex Agent that CoWork can talk to.

We use a small sales table, a semantic view on top of it and a Cortex Agent that CoWork can talk to.

We will keep everything for this demo in its own database and schema, so it stays separate from your real data and can be removed cleanly when you are done.

This creates two weeks of daily sales across three categories and three regions.

Let us query the table.

This quick check confirms the data landed. You should see a mix of all three categories and regions with sales amounts in the tens of thousands.

The semantic view tells Cortex Analyst what the columns mean, so the agent can write reliable SQL.

I kept it small, with three dimensions and two metrics. You can add more later, an average order value for example.

The part I care about most is that total sales is defined in one place. Whether you ask in chat or the automation runs on Monday, the number comes from the same calculation.

The agent has one tool, which is Cortex Analyst pointed at the semantic view.

The agent has a single tool, and the orchestration line tells it to use that tool for every sales question, so the numbers always come from the table and never from the model’s guess.

Replace COMPUTE_WH with a warehouse you can use. Once the agent exists, open CoWork and select it, making sure your role has access to it.

Before running anything, open Agent Studio and check the Added to CoWork column for your agent. If it reads Yes, you can skip this step. If it reads “No”, CoWork will not list the agent until you add it.

As seen below, in AI->Agent Studio, the *Added to CoWork* column for the Sales Digest Agent reads “No”.

This statement adds the agent to the CoWork object, which is the list of agents CoWork offers to users. It does not change the agent itself.

Refresh Agent Studio and the Added to CoWork column now shows **Yes.**

Refresh CoWork as well, and the agent appears in the dropdown under the text box. Select the agent.

In CoWork, ask the question the way you would ask a colleague.

*Prompt:* *Give me a sales summary for the last 7 days compared with the 7 days before. Show total sales and units, a breakdown by category and region with a chart, and call out what changed the most.*

The report comes back with a sales summary, a tabular breakdown and a chart , along with a section on what changed the most. CoWork usually offers to turn it into an automation and proposes a schedule. You can accept it, or just reply with what you want.

*Prompt:* *Yes, send this to me every Monday at 8 AM.*

CoWork confirms the schedule and the date of the first delivery.

The Automations tab in CoWork confirms this:

*(The same thing can be done directly from the Automations tab as well. Choose Create automation, then give it a name, the instructions and a frequency. Also, if CoWork shows a “Try automations” popup the first time you open it, that leads to the same feature.)*

One practical note. Email delivery needs a verified address on your user. You can create the automation without it, but nothing will arrive until the address is verified, so it is worth checking this first. You could validate your email from your profile settings at the left bottom of your Snowsight window.

You can pause, resume, edit or delete automations from the Automations tab, or simply ask CoWork in chat.

The query below lists the most recent rows from the agent usage history view in Account Usage, which records credits and tokens by time and agent. Run it after the automation has run a few times.

It returns the agent name, the credits used, the database the agent lives in and the user who ran it, newest first. Other columns are available in the view if you want to build a fuller cost report later.

You have two options, depending on whether you want the report back later.

Pausing stops the emails until you resume the automation. Deleting removes it completely, so you would need to create it again. For a report you might want again next quarter, pause is the safer choice.

To delete the automation from the UI, follow these steps.

Pause and resume are available in the same place. If you would rather not click through, you can simply ask CoWork in chat.

Pausing and deleting only affect your own automations. If you are an admin and want to switch the feature off for everyone, the REVOKE EXECUTE AGENT TASK statement in the next section does that. The Automations tab stays visible after that, and existing automations can be resumed if you grant the privilege again.

Automations are on by default because the EXECUTE AGENT TASK privilege is granted to PUBLIC. If you would like to limit who can schedule reports, you can revoke it and grant it to specific roles instead.

Existing automations are not deleted when access is turned off, and they can be resumed if access is restored.

Automations are a very useful feature and they close a gap that most analytics teams know well. A question gets answered once in a meeting, and then someone has to remember to ask it again every week. With CoWork, the question, the schedule and the delivery live in one place, and every run still follows the permissions of the person who created it.

What stood out while testing was how little there was to build. The semantic view and the agent are the same pieces you would create for any CoWork use case, and the schedule itself is one sentence in chat. The limits are real, since delivery is email only and schedules are fixed, so this suits recurring digests better than alerts that depend on an event.

If you try one thing after reading this, pick a report that someone on your team still builds by hand every week and turn it into an automation. Check the first couple of emails against your own numbers, adjust the question if needed, and then let it run.

The code for this post is [here.](https://github.com/Krishsriniv/Cowork-Automations-Demo)

*I share hands-on, implementation-focused perspectives on Generative & Agentic AI, LLMs, Snowflake and Cortex AI, translating advanced capabilities into practical, real-world analytics use cases. Do follow me on* *LinkedIn* *and* *Medium* *for more such insights.*

[Agentic AI in Action- Part 33: Your Monday Sales Digest with CoWork Automations](https://pub.towardsai.net/agentic-ai-in-action-part-33-your-monday-sales-digest-with-cowork-automations-288ef0d5326a) was originally published in [Towards AI](https://pub.towardsai.net) on Medium, where people are continuing the conversation by highlighting and responding to this story.
