---
title: FORM Butler – Web Form with Flow and collections
description: "You will learn how to control the Insert/Update/Delete processes to capture your data. When you want to insert or delete records, a Flow as shown in this tutorial is always required. Full movie to create the Web Form and Flow:…"
url: "https://pdfbutler.com/academy/form-butler-academy/form-butler-web-forms/form-butler-web-form-with-flow-and-collections/"
updated: "2024-10-28"
category: Web Forms
---

# FORM Butler – Web Form with Flow and collections

You will learn how to control the Insert/Update/Delete processes to capture your data.

When you want to insert or delete records, a Flow as shown in this tutorial is always required.

Full movie to create the Web Form and Flow:

[FORM Butler - Web Form with Flow and collections](https://www.youtube.com/embed/VWHjVTd2NYY?si=ayEvj4uUiWR8J3pn)

Variables to create in the Flow:

- recordId: This will be the Id of the record from which the form was send
- <OBJECT API NAME>_forCreate: List of Salesforce objects that do not exist yet in Salesforce. For inserting into Salesforce
  - Data Type: Record
  - Object: the Salesforce Object
  - Allow multiple values (collection): checked
  - Available for input: checked
- <OBJECT API NAME>_forDelete: List of Salesforce objects to be deleted
  - Data Type: Record
  - Object: the Salesforce Object
  - Allow multiple values (collection): checked
  - Available for input: checked
- <OBJECT API NAME>_forUpdate: List of Salesforce objects that already exist in Salesforce and can be updated
  - Data Type: Record
  - Object: the Salesforce Object
  - Allow multiple values (collection): checked
  - Available for input: checked
