# Merge Key Guide for 3rd Party Applications

With Daylite you can merge letter templates using 3rd party applications, allowing you to create standardized letters or documents you can send to your clients or team.

Support Applications

* Pages 4, 5, & 6
* Numbers 2, 3 & 4
* Keynote 5, 6 & 7
* Microsoft Word 2011 & 2016
* Excel 2011 & 2016

{% hint style="info" %}
For Word 2008 use .doc file format
{% endhint %}

### User Information Keys

Use these keys to merge data from your information.

| **My Details**                                                                                                                                                                                                                                                                                                             | **My Default Organization**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | **My Phone & Email**                                                                                                                                                                                                |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p><code><$me.alias$></code></p><p><code><$me.firstname$></code></p><p><code><$me.fullname$></code></p><p><code><$me.lastname$></code></p><p><code><$me.middlename$></code></p><p><code><$me.nickname$></code></p><p><code><$me.salutation$></code></p><p><code><$me.suffix$></code></p><p><code><$me.tagline$></code></p> | <p><code><$me.org.address.type$></code></p><p><code><$me.org.address$></code></p><p><code><$me.org.city$></code></p><p><code><$me.org.country$></code></p><p><code><$me.org.extra1></code></p><p><code><$me.org.extra2></code></p><p><code><$me.org.extra3></code></p><p><code><$me.org.extra4></code></p><p><code><$me.org.extra5></code></p><p><code><$me.org.extra6></code></p><p><code><$me.org.extra7></code></p><p><code><$me.org.extra8></code></p><p><code><$me.org.extra9></code></p><p><code><$me.org.extra10></code></p><p><code><$me.org.extra11></code></p><p><code><$me.org.extra12></code></p><p><code><$me.org.extraDate1></code></p><p><code><$me.org.extraDate2></code></p><p><code><$me.org.extraDate3></code></p><p><code><$me.org.extraDate4></code></p><p><code><$me.org.name$></code></p><p><code><$me.org.phone1$></code></p><p><code><$me.org.phone2$></code></p><p><code><$me.org.postal$></code></p><p><code><$me.org.state$></code></p><p><code><$me.org.tagline$></code></p> | <p><code><$me.email.type$></code></p><p><code><$me.email$></code></p><p><code><$me.phone1.type$></code></p><p><code><$me.phone1$></code></p><p><code><$me.phone2.type$></code></p><p><code><$me.phone2$></code></p> |
| **My Direct Address**                                                                                                                                                                                                                                                                                                      | **My Job Title & Role**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |                                                                                                                                                                                                                     |
| <p><code><$me.address.type$></code></p><p><code><$me.address$></code></p><p><code><$me.city$></code></p><p><code><$me.country$></code></p><p><code><$me.postal$></code></p><p><code><$me.state$></code></p>                                                                                                                | <p><code><$me.role.played$></code></p><p><code><$me.role.title$></code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |                                                                                                                                                                                                                     |

### People Keys

Use these keys to merge data from your Daylite contacts.

| **Contact Details**                                                                                                                                                                                                                                                                                                                                                    | **Default Organization**                                                                                                                                                                                                                                                                                                                                                                         | **Email & Phone**                                                                                                                                     |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p><code><$cnt.alias$></code></p><p><code><$cnt.firstname$></code></p><p><code><$cnt.fullname$></code></p><p><code><$cnt.lastname$></code></p><p><code><$cnt.middlename$></code></p><p><code><$cnt.nickname$></code></p><p><code><$cnt.salutation$></code></p><p><code><$cnt.suffix$></code></p><p><code><$cnt.tagline$></code><br><code><$cnt.salutation$></code></p> | <p><code><$cnt.org.address.type$></code></p><p><code><$cnt.org.address$></code></p><p><code><$cnt.org.city$></code></p><p><code><$cnt.org.country$></code></p><p><code><$cnt.org.name$></code></p><p><code><$cnt.org.phone1$></code></p><p><code><$cnt.org.phone2$></code></p><p><code><$cnt.org.postal$></code></p><p><code><$cnt.org.state$></code></p><p><code><$cnt.org.tagline$></code></p> | <p><code><$cnt.email.type$></code></p><p><code><$cnt.email$></code></p><p><code><$cnt.phone1$></code></p><p><code><$cnt.phone2$></code></p>           |
| **Contact's Direct Address**                                                                                                                                                                                                                                                                                                                                           | **Contact's Birthday**                                                                                                                                                                                                                                                                                                                                                                           | **Contact's Anniversary**                                                                                                                             |
| <p><code><$cnt.address.type$></code></p><p><code><$cnt.address$></code></p><p><code><$cnt.city$></code></p><p><code><$cnt.country$></code></p><p><code><$cnt.postal$> <$cnt.state$></code></p>                                                                                                                                                                         | <p><code><$cnt.birthdate$></code></p><p><code><$cnt.birthday$> <$cnt.birthmonth$></code></p><p><code><$cnt.birthyear$></code></p>                                                                                                                                                                                                                                                                | <p><code><$cnt.anniversary$></code></p><p><code><$cnt.anniversaryday$> <$cnt.anniversarymonth$></code></p><p><code><$cnt.anniversaryyear$></code></p> |
| **Contact's email/web addresses**                                                                                                                                                                                                                                                                                                                                      |                                                                                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                       |
| `<$contact.defaultEmailAddress.url$><$contact.defaultSecondEmailAddress.url$><$contact.defaultIMAddress.url$><$contact.defaultWebAddress.url$>`                                                                                                                                                                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                       |
| **Job Title & Role Played**                                                                                                                                                                                                                                                                                                                                            |                                                                                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                       |
| <p><code><$cnt.role.played$></code></p><p><code><$cnt.role.title$></code></p>                                                                                                                                                                                                                                                                                          |                                                                                                                                                                                                                                                                                                                                                                                                  |                                                                                                                                                       |

### Project & Opportunity Keys

Use these keys to merge data from projects and opportunities in Daylite.

| **Projects**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | **Opportunities**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| <p><code><$project.allContactsAsString$></code></p><p><code><$project.allOrganizationsAsString$></code></p><p><code><$project.assignedTo.contact.name$></code></p><p><code><$project.category.name$></code></p><p><code><$project.completeDate$></code></p><p><code><$project.createDate$></code></p><p><code><$project.currentPipeline.name$></code></p><p><code><$project.currentPipelineStage.name$></code></p><p><code><$project.details$></code></p><p><code><$project.extra1$></code></p><p><code><$project.extra2$></code></p><p><code><$project.extra3$></code></p><p><code><$project.extra4$></code></p><p><code><$project.extra5$></code></p><p><code><$project.extra6$></code></p><p><code><$project.extra7$></code></p><p><code><$project.extra8$></code></p><p><code><$project.extra9$></code></p><p><code><$project.extra10$></code></p><p><code><$project.extra11$></code></p><p><code><$project.extra12$></code></p><p><code><$project.extraDate1$></code></p><p><code><$project.extraDate2$></code></p><p><code><$project.extraDate3$></code></p><p><code><$project.keywordsString$></code></p><p><code><$project.lastNote.name$></code></p><p><code><$project.lastTask.name$></code></p><p><code><$project.lastTimeblock.name$></code></p><p><code><$project.modifyDate$></code></p><p><code><$project.name$></code></p><p><code><$project.nextPendingTask.name$></code></p><p><code><$project.nextPendingTimeblock.name$></code></p><p><code><$project.pendingTasksCount$></code></p><p><code><$project.pendingTimeblocksCount$></code></p><p><code><$project.startDate$></code></p><p><code><$project.statusString$></code></p> | <p><code><$opportunity.allContactsAsString$></code></p><p><code><$opportunity.assignedTo.contact.name$></code></p><p><code><$opportunity.cachedTotalAmount$></code></p><p><code><$opportunity.category.name$></code></p><p><code><$opportunity.completeDate$></code></p><p><code><$opportunity.createDate$></code></p><p><code><$opportunity.createdBy.contact.name$></code></p><p><code><$opportunity.currentPipeline.name$></code></p><p><code><$opportunity.currentPipelineStage.name$></code></p><p><code><$opportunity.details$></code></p><p><code><$opportunity.dueDate$></code></p><p><code><$opportunity.extra1$></code></p><p><code><$opportunity.extra2$></code></p><p><code><$opportunity.extra3$></code></p><p><code><$opportunity.extra4$></code></p><p><code><$opportunity.extra5$></code></p><p><code><$opportunity.extra6$></code></p><p><code><$opportunity.extra7$></code></p><p><code><$opportunity.extra8$></code></p><p><code><$opportunity.extra9$></code></p><p><code><$opportunity.extra10$></code></p><p><code><$opportunity.extra11$></code></p><p><code><$opportunity.extra12$></code></p><p><code><$opportunity.extraDate1$></code></p><p><code><$opportunity.extraDate2$></code></p><p><code><$opportunity.extraDate3$></code></p><p><code><$opportunity.extraDate4$></code></p><p><code><$opportunity.modifyDate$></code></p><p><code><$opportunity.name$></code></p><p><code><$opportunity.opportunityStateReason.name$></code></p><p><code><$opportunity.opportunityStateString$></code></p><p><code><$opportunity.opportunityStateString$></code></p><p><code><$opportunity.opportunityTypeString$></code></p><p><code><$opportunity.probability$></code></p><p><code><$opportunity.startDate$></code></p><p><code><$opportunity.term.plainTextRepresentation$></code></p> |

### Forms

You can make your own merge keys for form fields since they can be anything the user sets as a form field within a form.

The merge keys for a form field are structured as such,

**`<$form.Name Of Form Field$>`**

Eg., if you have a form field named Target Date, the merge key would be, <$form.Target Dater$>

### Date Formats

There are different formats you can apply to a date merged key. To do this, append the format to the end of the date merged key.

**`<$rightNow.preferredDateFormat$>`**

For preferred date format, you can select one of the following:

* `preferredDateFormat`
* `preferredMediumDateFormat`
* `preferredLongDateFormat`
* `preferredLongDateTimeFormat`
* `preferredTimeFormat`
* `preferredDateTimeFormat`

Daylite uses the format specified in your International System Preferences while displaying the date.

### How to send external letter templates

After saving your letter template in another application with the merge letters described above you can send merge letters to people in Daylite with the steps below:

1. Select the person you wish to send your letter to, or make the letter about
2. Select **Edit** > **Merge** > **Merge from another application**
3. Select the application you saved your template
4. Next to Template select **Choose** and navigate to your template
5. Next to **Save in** select **Choose** and choose where to save your merged letter
6. Add a file name and Subject
7. Choose to either send as Email, to Print or in the Daylite editor for more changes

When using form merge keys, first select the contact that the form is linked to then, select the form you wish to merge within the contact Details pane.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.daylite.app/help/center/merge-key-guide-for-3rd-party-applications.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
