Create Object
Create a new object in your Procore account.
This action can be used to execute most Procore API calls that use an HTTP POST request and take a single object (rather than an array of objects) as input. Please refer to the Procore API Reference to find such APIs; most of them begin with the word "Create". Here are just a handful of Procore APIs that you can invoke with this action:
Inputs
Key | Value | |
---|---|---|
| Required | The Procore API endpoint that you wish to invoke, without the "vapid" prefix. Please refer to the Procore Actions overview for more on the |
| Required (at least one) | The value you want to place in the |
| Optional | The data type of the field called Refer to the Body Parameters section of your Procore API's documentation to determine the correct field type for a given field. |
| Optional | The time zone for the This input is unnecessary if you don't specify any |
Outputs
Key | Value |
---|---|
| The ID of the newly created object in your Procore account. This can be useful for referencing the object in a Lookup Object or Query workflow step, or can be stored to a DataSource for future use. |
Usage Example
Suppose you want to create a new Incident in Procore based on data from a completed Incident form in GoFormz. To do this, you might start with a Form Completed trigger, then configure a Create Object step as follows:
Key | Value |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
In this example, we first construct the apiPath
as described in Procore's Create Incident API documentation, using the "ProjectId" field from the completed form to fill in the required project_id
path parameter. Then we fill the title
, description
, hazard_id
, location_id
and event_date
fields of the Procore Incident with corresponding values from the completed form. Note that all of these parameters can be found in the Body Parameters section of the Create Incident API documentation. Finally, for the event_date
input we specify:
- the
datetime
type, to make sure that the event date and time are properly formatted when they are written to Procore, and - the
America/Tijuana
time zone, telling Procore that the event happened in the US Pacific time zone.
Updated 16 days ago