> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

# Resource: Template V1

# Type: Template Object

# Link: https://dev.wix.com/docs/api-reference/crm/members-contacts/contacts/activity-log/template-v1/template-object.md

## Description: A predefined format for logging activities. Instead of a free-text message, a template defines
the wording, with placeholders for the relevant details, optional links, and an icon. Activities
logged from the same template produce consistent messages and can be filtered by category.

## Schema:

```json
 Type: Template Object | type: Template
 Description: A predefined format for logging activities. Instead of a free-text message, a template defines
the wording, with placeholders for the relevant details, optional links, and an icon. Activities
logged from the same template produce consistent messages and can be filtered by category.
       - name: id  | type: string | description: Template ID.
           - name: value  | type: string | description: 
       - name: name  | type: string | description: Template display name. Not translated.
       - name: activityDescription  | type: string | description: Translated description of what the template records, without parameter placeholders. Returned in the language specified by the `language` parameter.  Not present for all templates.
       - name: icon  | type: Icon | description: Template icon. Use `icon.url` to display the icon image.
           - name: name  | type: string | description: Icon name, used as a reference identifier for the icon.
           - name: url  | type: string | description: Icon image URL. Display this image to represent the template.
       - name: categoryId  | type: string | description: ID of the category this template belongs to.
       - name: updatedDate  | type: string | description: Date and time the template was last updated.
           - name: seconds  | type: string | description: 
           - name: nanos  | type: number | description: 
       - name: activityParams  | type: Array<ActivityParam> | description: Parameters that define what values are used to compose the activity's message. Each parameter key corresponds to a key in `activity.params` for activities created from this template.
           - name: key  | type: string | description: Parameter key, in camelCase format. Used to identify the parameter and as a placeholder in the template's message.
           - name: displayName  | type: string | description: Parameter display name.
           - name: required  | type: boolean | description: Whether the parameter is required. When `true`, activities created from this template always include a value for this parameter in `activity.params`.  Default: `false`
           - name: pii  | type: boolean | description: Whether the parameter value contains personally identifiable information (PII). When `true`, the parameter value is anonymized if the contact's data is erased through a GDPR request.  Default: `false`
           - name: type  | type: string | description: Parameter type.
               enum: STRING, DATE, NUMBER, CURRENCY, JSON
           - name: defaultValue  | type: Value | description: Default value for this parameter, used when no value is supplied for the parameter.
       - name: links  | type: Array<Link> | description: Optional structured links associated with the template. A link's `key` can appear as a Mustache-style placeholder in the template's message, embedding the link in the rendered activity message.
           - name: key  | type: string | description: Link identifier, in camelCase format. For example, `invoiceLink`. Can appear as a placeholder in the template's message, embedding this link in the rendered activity message.
           - name: url  | type: string | description: Link URL. Can contain Mustache-style placeholders using parameter keys. For example, `https://manage.wix.com/dashboard/{{siteId}}/store/orders/order/{{orderId}}`.
           - name: description  | type: string | description: Link description.

```