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:
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