> For the complete documentation index, see [llms.txt](https://docs.flexikanban.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flexikanban.ai/components/forms/using-form/how-to-incorporate-form-into-screen-flow.md).

# How to incorporate Form into Screen Flow

User can embed Form to Screen Flow.

{% hint style="info" %}
Screen Flow in Salesforce  is a drag and drop interface that allows Salesforce user’s to automate business processes by creating applications using Process builder without code. Read [this Salesforce article](https://developer.salesforce.com/docs/atlas.en-us.196.0.salesforce_vpm_guide.meta/salesforce_vpm_guide/vpm_admin_flow_overview.htm) to know more.
{% endhint %}

Go to Screen Flow page, select Flexi KanBan Form  (1) in the components list and put to the screen section you need:

<img src="https://3097383375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK2dgObBO5ydOH2ZXDJLa%2Fuploads%2FkrHM7OGwdb1ch8cjpxYz%2Ffile.excalidraw.svg?alt=media&amp;token=633be119-79dd-4f09-a3ad-87e1f70086d8" alt="" class="gitbook-drawing">

Fill in API Name (2), Form Id (3; copy the Id from your form [Settings tab](https://docs.flexikanban.ai/components/forms/basics/working-with-form-settings.md#general-settings) and define a variable for the Form Id):):

<img src="https://3097383375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK2dgObBO5ydOH2ZXDJLa%2Fuploads%2FcvrCWiSZmMEEfC8zierB%2Ffile.excalidraw.svg?alt=media&amp;token=57372b65-bdc3-4af8-b8a9-a0edafb9b548" alt="" class="gitbook-drawing">

Populate other properties:

* Form mode (6)

The form mode: pass 'view' or 'edit' values.

* Context Fields (4)

Allow to pass parameters to the form from the Context object.

Use JSON key/value format to pass the context record field values to the form. The 'key' is the parameter name, the 'value' is the field api name.

Example: The form source object is Contact (FirstName='Jim', LastName='Lee'). The *contextFields* in this case may look like:

{"fnameParam":"FirstName", "lnameParam":"LastName"}

In the form the merge field *{$FormParameters.fnameParam}* will be replaced with "Jim".

Note: Context field setting will work only if Record Id is passed.

* Entire Height (5)

Select this mode if you want to see the entire height form.

Record Id (7)

Pass context record id to the form. To do this create recordId flow variable first, then put it into Record Id field.

NOTE: Variable should have 'recordId' API name:

<img src="https://3097383375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK2dgObBO5ydOH2ZXDJLa%2Fuploads%2FJm0qnyps9KCVVcfHQvnj%2Ffile.excalidraw.svg?alt=media&amp;token=e26fe57f-5482-4ee0-8e08-46b0ecfc8f8c" alt="" class="gitbook-drawing">


---

# 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.flexikanban.ai/components/forms/using-form/how-to-incorporate-form-into-screen-flow.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.
