> For the complete documentation index, see [llms.txt](https://docs.avonnicomponents.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.avonnicomponents.com/videos/all-videos/page-1/close-lost-deals-in-bulk-with-salesforce-flow-and-ai.md).

# Close Lost Deals in Bulk with Salesforce Flow and AI

Screen Flows · 8:57

Claude Code builds the flow, you finish the Data Table: deals grouped by stage, a loss reason in each row.

{% embed url="<https://www.youtube.com/watch?v=F5bgzSocbW4>" %}

## Chapters

* [0:00 Welcome](https://www.youtube.com/watch?v=F5bgzSocbW4\&t=0)
* [0:20 The Data Table](https://www.youtube.com/watch?v=F5bgzSocbW4\&t=20)
* [0:57 Our example](https://www.youtube.com/watch?v=F5bgzSocbW4\&t=57)
* [1:38 What you need](https://www.youtube.com/watch?v=F5bgzSocbW4\&t=98)
* [2:22 The perfect match](https://www.youtube.com/watch?v=F5bgzSocbW4\&t=142)
* [2:53 The prompt](https://www.youtube.com/watch?v=F5bgzSocbW4\&t=173)
* [4:06 Iterate with the assistant](https://www.youtube.com/watch?v=F5bgzSocbW4\&t=246)
* [4:34 What Claude built](https://www.youtube.com/watch?v=F5bgzSocbW4\&t=274)
* [5:01 The Avonni components for screen flows](https://www.youtube.com/watch?v=F5bgzSocbW4\&t=301)
* [5:35 Polish it in the Component Builder](https://www.youtube.com/watch?v=F5bgzSocbW4\&t=335)
* [6:38 Put it on the account page](https://www.youtube.com/watch?v=F5bgzSocbW4\&t=398)
* [6:56 Test it](https://www.youtube.com/watch?v=F5bgzSocbW4\&t=416)
* [7:22 Fix it with the assistant](https://www.youtube.com/watch?v=F5bgzSocbW4\&t=442)
* [7:47 Test it again](https://www.youtube.com/watch?v=F5bgzSocbW4\&t=467)
* [8:08 Recap](https://www.youtube.com/watch?v=F5bgzSocbW4\&t=488)

## Related documentation

[Follow the documentation](https://docs.avonnicomponents.com/flow/flow-components/data-table)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.avonnicomponents.com/videos/all-videos/page-1/close-lost-deals-in-bulk-with-salesforce-flow-and-ai.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
