A Sign Mapping fills in a Sign Template with data from a Salesforce record, so senders only check and send. This guide shows how to create a mapping and what each setting does.
Step 1 of 15
1Overview#
A Sign Mapping tells @Sign which Zoho Sign template to send and which Salesforce data to fill in, so senders don't type it. This guide covers:
the general settings of a mapping
Request Mapping: signers and Prefill by you fields
Result Mapping: values written back to Salesforce
related records and the filter
saving the mapping
In this video, we'll create a Sign Mapping. A Sign Mapping links a template to a Salesforce object, fills the document with Salesforce data, and saves the results back once it's signed.
Key concepts
Mapping means copying values between Salesforce and the document: from a field on the record into a field of the contract, or back.
Sign Mapping: A recipe for one kind of contract: which Sign Template to send, from which object (such as Opportunity), and which Salesforce data goes where. When it takes effect: When a sender clicks New Contract on the @Sign card, every matching mapping is offered as a card.
Data Source: Where the values come from. The first line is the record you send from. Extra lines add a related record, such as a Quote. When it takes effect: The sender picks the related record when creating the contract.
Request Mapping: Salesforce → document. Fills in the signers and the Prefill by you fields before the contract is sent. When it takes effect: When the sender creates the contract. The sender can still change every value.
Result Mapping: Document → Salesforce. Copies values from the signed document back into Salesforce fields. When it takes effect: Once the contract is completed, during the next sync.
Static value (grey
{ }): Fixed text that you type. When it takes effect: The same on every contract.Dynamic value (blue
{ }): A Salesforce field, such asAccount.Name, read from the record each time. When it takes effect: Read when the contract is created.
How a mapping works
Request Mapping: Salesforce to document, before sending. It only lists the Prefill by you fields, because those are the only fields filled in before the document is sent. All other fields belong to a signer, who fills them in while signing.
Result Mapping: document to Salesforce, after completion. It lists all fields of the document, so whatever a signer entered can be saved back to Salesforce.
Step 2 of 15
2Open Sign Mappings#
Open the Sign Mappings tab in the @Sign Admin app. Mapping means matching a Salesforce field to a field in the document, so @Sign copies the value and nobody has to type it.
Open the Sign Mappings tab. Mapping means matching a Salesforce field to a field in the document, so @Sign copies the value and nobody has to type it.
Step 3 of 15
3Create a mapping#
Click New to open the mapping designer. Only users with @Sign - Admin can create and edit mappings. You need a Sign Template first, see Manage Sign Templates.
Click New to create a Sign Mapping.
What is a Sign Mapping?
It fills in a Sign Template with data from a Salesforce record. Senders pick it in New Contract, check the values and send.
Step 4 of 15
4Sign Mapping Name#
Sign Mapping Name: A name your senders will recognize, for example the contract type.
Developer Name: A unique name that Flows use to pick this mapping, such as
Service_Agreement. It is filled in from the mapping name. Unlike a record Id, it is the same in every org.Sign Template: Required. The template this mapping fills in and sends, here Solar Installation & Maintenance Agreement. If it isn't listed, click Sync Templates on the Settings tab.
Object Name: Required. The object you send from, such as Opportunity. Only records of this object offer the mapping.
Status On Complete: The status a contract gets once everyone has signed. COMPLETED (default): a user closes the contract with Mark done on the @Sign card. DONE: the contract is closed automatically.
Active: Only active mappings are offered when someone creates a contract. Clear it to take a mapping out of use without deleting it.
Download Signed Document: Keeps the signed PDF and the completion certificate as files on the record. Off by default.
Give the mapping a name your senders will recognize, such as the type of contract. They see this name when they create a contract.
Why can't I see my Sign Mapping when I create a contract?
The mapping must be Active, the record must be of its Object Name, and the record must match its Filter Configuration.
Step 5 of 15
5Data Sources#
Data Sources are the records a mapping reads from and writes to.
The first line is created automatically when you choose the object and is named after it, here Opportunity. It is always the record you send from.
Each line has its own Request Mapping (what it fills in) and Result Mapping (what it writes back), so a value can come from, or go to, the right record.
Data Sources are the records this mapping gets values from and saves values to. The first is created for you: the Opportunity the contract is sent from. Each one has its own Request Mapping and Result Mapping.
Step 6 of 15
6Request Mapping#
Request Mapping fills in the contract before it is sent, from the data source's record. It has two parts: Signer Mapping (who signs) and Field Mapping (the Prefill by you fields). When the sender creates a contract, they see the filled-in values and can still change them.
Click Request Mapping to set what gets filled in before the contract is sent, from Salesforce to the document. It has two parts: the signers, and the document's fields.
Step 7 of 15
7Signer Mapping#
Signer Mapping fills in Full Name and Email for each role of the template. An In-person sign role also asks for the in-person name and email, and an Email + SMS role for Phone and Country Code.
For example, a signer who differs per contract gets a dynamic name and email from the record. A signer who is always the same person gets a static value.
Under Signer Mapping, set who signs for each role. Here, that's the name and email of the Customer and of the Supplier.
Step 8 of 15
8Choose the field#
Every value is either static or dynamic. A dynamic value (blue icon) is a Salesforce field, read from the record each time a contract is created. Use it for anything that differs per contract, such as the customer's name. To pick one:
Click the Merge Field icon next to the value. A picker opens, where you can also reach fields on related records.
A field with > opens the related record. Click Account ID (it has a > arrow) to reach the account's fields.
Choose Account Name. The box now shows
Account.Name.Click Select. The icon turns blue: the value comes from Salesforce.
Step 9 of 15
9Fixed text#
A static value (grey icon) is text you type: the same on every contract. Use it for a signer who is always the same person. A value is either static or dynamic; you can't mix text and a field in one value.
For a static value, type the text instead. The icon stays grey and the value is the same on every contract, for example a signer who is always the same person.
Step 10 of 15
10Pair the fields#
Field Mapping fills in the template's Prefill by you fields. Only those fields are listed, because they are the only ones filled in before the document is sent; signer fields are filled in by the signers themselves. The sender can still change each value, and a required Prefill by you field must have a value before the contract can be sent.
Click New Line to add a row.
Pick the Salesforce field with Merge Field, or enter a fixed value. Here: Amount.
In Zoho Field, choose the template field, here Contract Value.
Click Save to close the dialog. Nothing is stored until you save the mapping itself.
Here, we map Amount to Contract Value. Choose Amount as the Salesforce field, then Contract Value as the Zoho Field. Each contract now gets the amount of the Opportunity it's sent from.
Step 11 of 15
11Result Mapping#
Result Mapping works the other way: it copies values from the signed document back to Salesforce. It lists all fields of the document, the Prefill by you fields and every field a signer filled in, such as a start date or an IBAN.
Click Result Mapping on the data source line whose record should receive the values.
Click New Line and pair a template field with a Salesforce field.
Click Save, or Cancel and close to leave without changes.
Result Mapping runs once the contract is completed in Zoho Sign, during the next sync. Each value is written to that line's record: the record you sent from, or the related record the sender picked.
Result Mapping works the other way: from the document to Salesforce, once everyone has signed. It lists all fields of the document, so you can also save what signers filled in, like the date they signed.
What is the difference between Request Mapping and Result Mapping?
Request Mapping fills in the contract before it is sent. Result Mapping writes values from the signed contract back to Salesforce.
Step 12 of 15
12Add a related record#
Use Add Contextual Data Line when values live on a related record instead of the record you send from, for example the Quote of an Opportunity. Set its Related Object: you can choose objects that point to the main object.
If values are on a related record, such as a Quote, click Add Contextual Data Line. When creating the contract, the sender selects which Quote to use. The mapping reads values from that record and can save results back to it.
Choose the related record
When creating a contract, the sender picks one record for each line from a list. The list only shows records linked to the record they send from. That line's Request and Result Mapping read from and write to the chosen record. A line left empty is skipped.
Filter related records
The line's Filter narrows that list, for example to Quotes with status Approved. It doesn't decide whether the mapping itself is offered; that is Filter Configuration.
Step 13 of 15
13Filter Configuration#
Filter Configuration decides on which records the mapping is offered. It is checked against the record when the sender clicks New Contract. Without a filter, every record of the object offers it. Use Add condition and Add Group to build the rule, for example to offer the mapping only when the stage is Ready for Signature.
You can have several mappings for the same object, such as one per contract type. Use Filter Configuration to tell them apart.
Filter Configuration decides which Opportunities this mapping is available on. Without conditions, that's all of them.
Step 14 of 15
14Save#
Click Save. Users now see the mapping as a card under New Contract on records that match its object, Active and filter. If only one mapping matches, it is selected for them.
To change a mapping later, open it and click Edit. It opens the same designer.
Click Save to create the Sign Mapping. Because it's active, senders can use it straight away.
Step 15 of 15
15Next step#
Put the @Sign card on the record page, so senders can use your mapping. See Add the @Sign component to a record page.
Your Sign Mapping is ready. Next, add the @Sign component to a record page.
Can I limit which contacts a sender can pick?
Yes. Use the Filter on that data line in the mapping.
You're all set!
Create and configure a Sign Mapping