> For the complete documentation index, see [llms.txt](https://docs-vnext.kiflo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-vnext.kiflo.com/leads-deals/deal-registration/how-to-associate-convert-deals-to-customers-automatically.md).

# How to associate/convert deals to customers automatically?

It is possible to create customers automatically in Kiflo anytime deals are closed won.

## How does it work?

If the option is enabled, anytime a deal is moved to the closed-won stage, a new customer is created and associated with that deal.

The customer's properties are automatically populated from the deal's properties or the contact's properties.

Example: If the following properties are defined on your account:

| Entity   | Property name     | Example value |
| -------- | ----------------- | ------------- |
| Deal     | Subscription Plan | *Kiflo Plus*  |
| Contact  | Company Name      | *FooBar Inc.* |
| Customer | Subscription Plan |               |
| Customer | Company Name      |               |

Kiflo automatically fills in the two properties on the new customer based on the values defined on the source deal and contact.

If a customer is already associated with a deal when it is closed won no new customer is created.

## Associate customers with deals automatically

From your admin portal:

* Click on the user menu (top-right corner)
* Go to **Account Settings**
* Then click on **Deals**
* Scroll to the section **Deal automation**
* Toggle on the option *Create and associate new customers when deals are closed won:*

![](https://3041514930-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKkJn82Qo5a0Y4fOsoQzo%2Fuploads%2Fgit-blob-4e42ab973457dbe286efc06b1b8634477718ca90%2F6932cf5ac1a4fc7f80078ed5.png?alt=media)


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs-vnext.kiflo.com/leads-deals/deal-registration/how-to-associate-convert-deals-to-customers-automatically.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
