Skip to main content

Using Actions

An action creates or changes something in Facilio. This page explains each kind of action and every option. For the actions of each module, see Triggers and Actions by Module. For the exact format to use in each kind of field, see Entering Values and Filters.

How Facilio Action Forms Work​

  • The fields come from your account. When you open an action, the connector reads the module's fields from Facilio: system fields, your custom fields, picklist options and required flags. If you add or change a field in Facilio, click Refresh fields at the top of the step.
  • System fields come first: the fields people use most for the module. A box at the top of the form says so.
  • Custom fields follow, under their own heading: every custom field of the module.
  • Other Fields (at the end) is for any field not listed above. Its help text lists those fields with their API names.
  • Required fields have a red *. Zapier does not let you continue until they are filled.
  • Help on every field. Hover over the ⓘ next to a field to read what it expects, including the field's API name and the format of its value.
The Create Work Order form: system fields first.
The Create Work Order form: system fields first.

Finding the Record to Change​

Every action that changes an existing record (update, change status, comment, note, attachment) first asks which record.

FieldHow to fill it
Record ID (for example Work Order ID, Service Request ID)The Facilio record ID, a number. Pick a recent record from the list, or switch to Custom and map the ID from an earlier step, for example from a Facilio trigger or from the step that created the record.
Look Up By (work orders only)Choose Work Order ID to give the record ID, or Work Order Number to give the number people see in Facilio (for example 1234 or #1234).
Look Up By and the record field on a work order action.
Look Up By and the record field on a work order action.
A work order can be found by its ID or by its number.
A work order can be found by its ID or by its number.
The record list shows the number and subject of recent records, with their IDs.
The record list shows the number and subject of recent records, with their IDs.
ID or number?

The ID is Facilio's internal identifier of a record, and it never changes. Work orders also have a number (shown as #27 in Facilio) that people use in conversation. For service requests, sites and buildings the ID field also accepts the value written as #1234. When you store a link between Facilio and another system, store the ID.

Create Record​

Examples: Create Service Request, Create Work Order, Create Vendor, Create Site.

Creates a new record and returns it with all its fields, including its new ID (and Number for work orders), so later steps can use them.

Fields: the fields of the module (see above). In addition:

  • Requester Email / Phone / Name (service requests): use these when you have the requester's contact details rather than a Facilio person. Facilio looks for a person with that email (then with that phone) and creates a new person when there is none. A name alone is not enough to find or create someone.
  • Line Items (quotes, purchase orders and invoices): at least one line is required. Each line has Line Item Type (for example Item Type, Service, Labour, Others), Description, Quantity, Unit Price, and, depending on the type, the item type, tool type or service. To type several lines by hand, separate the values of each column with commas (for example Quantity 2, 5 and Unit Price 12.5, 40). To map several lines from an earlier step, switch Line Item Type to Custom.
  • Address fields (sites, buildings, and others with a location): Street, City, State, Zip / Postcode, Country, Latitude and Longitude.

Avoid Duplicates​

Two optional fields at the end of every create action stop a Zap from creating the same record twice, for example when a ticket is sent again.

Other Fields and the Avoid Duplicates options at the end of a create form.
Other Fields and the Avoid Duplicates options at the end of a create form.
FieldWhat it does
Avoid Duplicates: Match OnChoose a field that holds a unique value, typically the reference from your other system (for example a custom field External Ticket ID). Before creating, the Zap looks for a record with the same value in that field. Leave it empty to always create.
Avoid Duplicates: If a Match Is FoundDo not create; return the existing record (default): the step returns the record already in Facilio. Update the existing record with these values: the step updates it instead. Stop with an error: the step fails, and the run shows as errored in Zap History.

The step's output field Result says what happened: created, found_existing or updated_existing.

Update Record​

Examples: Update Work Order, Update Service Request, Update Tenant.

Changes fields of an existing record. First choose the record, then fill only the fields you want to change. A field you leave empty is not changed; to clear a value in Facilio, use API Request.

The status cannot be changed here; use Change Status.

Change Status​

Examples: Change Work Order Status, Change Service Request Status, Change Quote Status.

Moves a record to another status through its stateflow, like clicking the stateflow button in Facilio.

FieldHow to fill it
RecordSee Finding the Record.
StatusPick the status to move to. The list is read from the module's stateflow. If you map or type it (Custom), use the status name exactly as Facilio shows it.
Change Work Order Status.
Change Work Order Status.

Facilio applies the same rules as in the app: the record must be able to move from its current status to the chosen one, and any field the transition requires must be set. If not, the step fails with Facilio's reason (for example, that the transition is not available from the current status).

Add Comment​

Examples: Add Work Order Comment, Add Service Request Comment, Add Vendor Comment.

Posts a comment on a record. By default the comment is private: only your team sees it in Facilio. Choose portals in Share With to also show it there, for example to the tenant in the Tenant Portal.

FieldHow to fill it
RecordSee Finding the Record.
CommentThe text. Plain text, or HTML for formatting.
Share WithOptional. The portals that also see the comment: the list shows your account's portals (Tenant Portal, Vendor Portal, Client Portal ...). Leave empty to keep the comment private. To map a value instead, use the portal's link name, such as tenant or vendor, separating several with commas. Only portals your organization is licensed for are accepted: Facilio refuses any other and names the ones you can use.
External IDService requests and work orders only. Optional. The ID of this comment in your other system. Facilio keeps it with the comment and returns it in the comment triggers and in List Record Comments, so you can match comments between the two systems and avoid copying a comment back and forth.

The step returns the comment with its ID, text, External ID, Shared With (the portals it is shared with; empty when private) and time.

Update Record Comment​

Changes the text of an existing comment, who sees it, or both. It works on comments of any module, standard or custom.

FieldHow to fill it
ModuleThe module of the record the comment is on.
Record IDThe record the comment is on. Pick it, or map it from a trigger.
Comment IDThe comment. Pick one of the record's comments, or map the ID from a comment trigger or from List Record Comments.
New TextOptional. Leave empty to keep the current text.
VisibilityKeep as it is (default) leaves the sharing unchanged. Private removes all sharing: only your team sees the comment. Share with the portals below replaces the sharing with the portals in Share With.
Share WithThe portals, when Visibility is Share with the portals below.

For example, to publish a comment to the tenant once it has been reviewed, map its Comment ID and set Visibility to Share with the portals below and Share With to Tenant Portal.

Add Service Request Private Note​

Adds a private note to the conversation of a service request. Only your team sees it.

FieldHow to fill it
Service Request IDSee Finding the Record.
NoteThe text, plain or HTML.
AttachmentOptional. A file from an earlier step, or a link to a file, attached to the note.
Attachment File NameOptional. The name to give the file in Facilio, with its extension (for example photo.jpg).

Add Service Request Public Note​

Adds a public note to the conversation of a service request. The requester sees it, and Facilio emails it to them.

The fields are those of the private note, plus:

FieldHow to fill it
ToOptional. The email address to send the note to. Leave empty to send it to the requester of the service request.

The step returns the note with its ID, text, recipients, author, time and attachments (each with its file, so later steps can copy it).

Add Attachment​

Examples: Add Work Order Attachment, Add Service Request Attachment.

Uploads a file to a record.

FieldHow to fill it
RecordSee Finding the Record.
FileA file from an earlier step (for example the Attachment File of another app's trigger), or a public link to a file. Zapier downloads the link and uploads the file.
File NameOptional, but recommended. The name to give the file in Facilio, including its extension (for example report.pdf). Without it, the file is saved as attachment, with no extension. Map the file name from the earlier step to keep the original name.
External IDService requests, work orders and invoices only. Optional. The ID of this file in your other system. Facilio keeps it with the attachment and returns it in the attachment triggers and in List Record Attachments.
Add Work Order Attachment.
Add Work Order Attachment.

Custom Module Actions​

Create Record, Update Record, Change Record Status, Add Record Comment and Add Record Attachment, each marked (Custom Module), work for every custom module in your account.

  1. In Custom Module, choose the module. Only custom modules are listed; standard modules have their own actions.
  2. The module's fields load below, which takes a few seconds. From there the action works like its standard version above.

If the list says No options are available, your account has no custom modules, or the connection's user cannot see them.

The Custom Module list in an account without custom modules.
The Custom Module list in an account without custom modules.

API Request​

Calls any Facilio V5 REST API with the connection's sign-in. Use it for what the other actions do not cover, such as clearing a field or calling a module-specific API. You need to know the API you are calling; see the Facilio developer documentation.

FieldHow to fill it
MethodGET reads, POST creates, PATCH and PUT change, DELETE removes.
PathThe part of the address after /api/v5, for example /workorder or /workorder/123/comments. The region and your account are taken from the connection.
Query ParametersOptional, one row per parameter. For lists, use page and pageSize to page through results, and field names to filter (for example subject = Leak). Filters use the same format as Advanced Filters.
Body (JSON)For POST, PATCH and PUT. Facilio expects {"data": { ... }}, for example {"data": {"subject": "Leak in lobby"}}.
Stop the Zap on an Error ResponseYes (default): an error from Facilio fails the step. No: the Zap continues and later steps can read the error from the response.
API Request.
API Request.

The step returns the HTTP status, whether it succeeded, and Facilio's response.

Testing an Action​

On the Test tab, Data in shows what the step will send. Test step really runs the action in Facilio: a test of a create action creates a record. Test in a sandbox account, or delete the test records afterwards. Data out then shows what Facilio returned.

Data out after testing Create Work Order.
Data out after testing Create Work Order.