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

# Outcomes in the chat

> How visitors open your outcome forms: the agent offers them, the form's button at the top of the chat replaces Book a meeting, a website chat button opens a form, and Book a meeting can ask qualifying questions before the calendar.

<div className="darwin-location"><strong>Find it in Darwin</strong> Agent Studio → Outcomes <a href="https://app.meetdarwin.ai/admin/agent?tab=outcomes">Open this screen ↗</a></div>

A live form reaches visitors in three ways: the agent offers it in the conversation, its button sits at the top of the chat, or a button on your own website opens it. Book a meeting can also ask its own questions before the calendar.

## When the agent offers it

When a visitor asks for what a form is for, matching your **Offer it when the visitor…** sentence, the agent says a line and opens the form in the chat. Its button, such as **Get a quote**, shows above the message box too.

The form works like this for the visitor:

* One question shows at a time. Answered steps fold into a line at the top, and **Back** changes an answer.
* Questions the visitor already answered in the chat arrive filled in, when you let the agent fill them in.
* Name and email come last. **Send request** sends it.

<Frame>
  <img style={{ width: 388, maxWidth: "100%" }} src="https://mintcdn.com/meet-darwin/fwdlfPG3848y_3D8/images/guides/outcomes/chat-contact.webp?fit=max&auto=format&n=fwdlfPG3848y_3D8&q=85&s=84bb56c3362acd384208e5bdd61de6aa" alt="The last step of Request a quote in the chat, 4 of 4: the answers folded into one line, Where should we send it?, with the name Dana Ruiz, the email dana@northpeak.co, an optional phone field, Send request and Back." width="776" height="718" data-path="images/guides/outcomes/chat-contact.webp" />
</Frame>

After sending, the visitor sees your thank-you message, or, if the form ends in a meeting, the next step of booking.

## Put the form at the top of the chat

Turn on **Also at the top of the chat** on a form, then **Save changes**. Its button takes the place of **Book a meeting** under your agent's name, so visitors can open the form without asking.

<Frame>
  <img style={{ width: 428, maxWidth: "100%" }} src="https://mintcdn.com/meet-darwin/fwdlfPG3848y_3D8/images/guides/outcomes/chat-header-button.webp?fit=max&auto=format&n=fwdlfPG3848y_3D8&q=85&s=1707e01b587f182d6de0daad18b953ef" alt="The top of the chat: the agent's name, Maya, with the Get a quote button under it, marked." width="856" height="406" data-path="images/guides/outcomes/chat-header-button.webp" />
</Frame>

* Only one form can have this spot. Turning it on for another form and saving moves it there.
* Once the visitor has a form in the chat, the button gives way to **Book a meeting** again, if you take bookings.

## Open a form from your website

Make a chat button for your own page, such as **Get a quote** next to your prices:

<Steps>
  <Step title="Add a button">
    Open **Agent Studio → Buttons** and select **Add button**. Type its **Button label**.
  </Step>

  <Step title="Point it at the form">
    Under **When clicked**, select **Open a form** (1), then pick the form under **Form** (2). Only live forms are listed.

    <Frame>
      <img style={{ width: 523, maxWidth: "100%" }} src="https://mintcdn.com/meet-darwin/fwdlfPG3848y_3D8/images/guides/outcomes/button-form.webp?fit=max&auto=format&n=fwdlfPG3848y_3D8&q=85&s=4b9c2ecf80fd0bd189ac190a5d346a3f" alt="A chat button being edited: Button label Get a quote, When clicked set to Open a form, marked 1, and Form set to Request a quote, marked 2." width="1046" height="396" data-path="images/guides/outcomes/button-form.webp" />
    </Frame>
  </Step>

  <Step title="Save and paste it">
    Select **Save changes**, copy the button's code and paste it on your page. See [Add chat buttons to your website](/assistant/chat-buttons).
  </Step>
</Steps>

A click opens the chat on that page, straight into the form.

<Frame>
  <img style={{ width: 388, maxWidth: "100%" }} src="https://mintcdn.com/meet-darwin/q0RKuuTU7-XkkyHQ/images/guides/studio/outcomes-chat-form.webp?fit=max&auto=format&n=q0RKuuTU7-XkkyHQ&q=85&s=403c5ae614ac484ed2b4f3ec359d567a" alt="The Request a quote form in the website chat on step 2 of 4: the first answer, Brand refresh, folded into a line, then When do you want it done? with three choices and a Back link." width="776" height="648" data-path="images/guides/studio/outcomes-chat-form.webp" />
</Frame>

## Ask questions before any meeting

Book a meeting is built in. Give it questions, and every meeting request opens them first, before the calendar.

<Steps>
  <Step title="Open Book a meeting">
    In **Agent Studio → Outcomes**, select **Book a meeting** at the top of the list.
  </Step>

  <Step title="Add the questions">
    Under **Questions before the calendar**, tap a suggestion such as **Team size**, **Budget**, **Timeline** or **What they want to solve** to add a ready-made question, or add your own. Mark the answers that rule a visitor out with **Not a fit** (marked).

    <Frame>
      <img style={{ width: 623, maxWidth: "100%" }} src="https://mintcdn.com/meet-darwin/zE4SNjTjEAAUBvAf/images/guides/studio/outcomes-meeting.webp?fit=max&auto=format&n=zE4SNjTjEAAUBvAf&q=85&s=92f7c14fbf828cf12e738b430f531e88" alt="Book a meeting, built in, set to Questions first: How big is your team? with five choices and Just me flagged Not a fit (marked)." width="1246" height="1556" data-path="images/guides/studio/outcomes-meeting.webp" />
    </Frame>
  </Step>

  <Step title="Save">
    If you marked answers **Not a fit**, edit the message those visitors see under **If they're not a fit**. Then select **Save changes**. The card now says how many questions come first.
  </Step>
</Steps>

From then on, the questions open first however the visitor asks for a meeting: in the conversation, with **Book a meeting** at the top of the chat, from a chat button, or after a form that ends in a meeting. Name and email come last.

<Frame>
  <img style={{ width: 388, maxWidth: "100%" }} src="https://mintcdn.com/meet-darwin/fwdlfPG3848y_3D8/images/guides/outcomes/chat-gate.webp?fit=max&auto=format&n=fwdlfPG3848y_3D8&q=85&s=dfee7944ff9cdc78aff5bd0a59220f2d" alt="Book a meeting in the chat, step 1 of 3: How big is your team?, with the choices Just me, 2–10, 11–50 and 51+." width="776" height="566" data-path="images/guides/outcomes/chat-gate.webp" />
</Frame>

* Visitors who fit go on to the calendar.
* Visitors who don't fit see your message instead of times. Their answers still come to you, marked **Not a fit**, and the agent doesn't offer them a meeting again in that chat.

<Frame>
  <img style={{ width: 388, maxWidth: "100%" }} src="https://mintcdn.com/meet-darwin/fwdlfPG3848y_3D8/images/guides/outcomes/chat-not-a-fit.webp?fit=max&auto=format&n=fwdlfPG3848y_3D8&q=85&s=265fd149373321e9ab1880eb53558187" alt="Book a meeting after the visitor answered Just me and Yes: Thanks, with the message that from their answers the team isn't the right fit just now and has their request." width="776" height="360" data-path="images/guides/outcomes/chat-not-a-fit.webp" />
</Frame>

Remove every question to send visitors straight to the calendar again.

## Good to know

* The agent opens one form at a time and never asks a form's questions in plain messages.
* In [Experiments](/optimization/how-it-works), a form opening counts as the booking step, the same as the calendar opening.
* Booking needs scheduling set up. See [How meetings get booked](/assistant/scheduling).

<CardGroup cols={2}>
  <Card title="Requests and follow-up" icon="inbox" href="/outcomes/requests">See what visitors sent and pass it on.</Card>
  <Card title="Add chat buttons to your website" icon="mouse-pointer-click" href="/assistant/chat-buttons">Every kind of button you can put on your pages.</Card>
</CardGroup>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.