Try It Out: Create an Invoice Action
In this step, we’ll create the Invoice action that
adds the delivery record.
- In the Salesforce application, from Setup, click .
- Click Invoice.
- Scroll down to the Buttons, Links, and Actions related list and click New Action.
- In the Action Type drop-down list, select Create a Record.
- In the Target Object drop-down list, select Delivery.
-
In the Label field, enter Create Delivery.The action name defaults to Create_Delivery. This is name by which the action is referenced by the API.

- Click Save.
- After you save the action, the page layout editor appears. Drag the Invoice, Order Number, and Owner fields to the page layout.
- Click Save.

Now that we’ve created the action, we’ll add the code to the Shipify Web application that’s running on Heroku.