Template type

With template types, it is possible to group templates by integration or workflow. They also allow adding contract variables (data fields) to contracts, which you can use to send data in and out of contracts.

By using template types, users of the Oneflow application can specify which integration the template and any contracts created from this template should belong to. When a template type is applied to a contract template, the contract template will automatically gain access to all the data fields predefined in the template type.

Template types also determine which webhooks send contract event notifications to.

Template type attributes

AttributeTypeDescription
_linksobjectContains links to endpoints associated with the parent object. See Links.
created_timestring(datetime)The time the template type was created.
data_fieldsarrayContract variables that you can use in contract sections. See Data field.
descriptionstringDescription of the template type, for example: "Our custom integration automatically populates template variables with this template type."
extension_typestring(enum)An alias used for template types created by integration extensions. See Extension types.
idinteger(signed_integer_id)The ID of the template.
namestringA short, descriptive name for the template type, such as "Shoe Sales."
updated_timestring(datetime)The time when the template type was last updated.

Extension types

Template types generated by an integration extension are assigned an extension type. This type is an alias assigned by Oneflow when the integration extension is created. When filtering template types, use the extension type instead of the identifier.

Popular extension types include:

  • adocka
  • demo
  • dynamics
  • google_workspace
  • hibob
  • hubspot
  • intelliplan_employee
  • intelliplan_person
  • intelliplan_sales
  • jobylon
  • lime
  • membrain
  • microsoft_365
  • paxml
  • pipedrive
  • salesforce_v1
  • salesforce_v2
  • superoffice
  • teamtailor
  • upsales

📘

Note:

If you cannot remember your extension type or need to know if an extension type is enabled or disabled, please use the Get integration extensions endpoint.