Personnalisez les scripts selon vos besoins

Vos propres scripts permettront de structurer davantage les sessions et d’augmenter l’impact global de vos réunions. Vous pourrez ainsi atteindre des taux de conversion plus élevés et obtenir des résultats instantanés. Nous vous encourageons à utiliser des scripts. C’est facile : –il suffit d’utiliser un de nos scripts commerciaux.

Une option plus avancée consiste à créer vos propres scripts en utilisant du code XML. Le code XML peut sembler compliqué si vous ne l’avez jamais utilisé auparavant. Toutefois, si vous êtes prêts à investir un peu de temps pour suivre les étapes ci-dessous, vous verrez que vous en êtes capable.

Amusez-vous avec votre premier script personnalisé.


A script consists of a number of building blocks, which we call „nodes", put in a logical order. We have nodes for:

  1. Presenting documents, in the most common formats such as pdf, word, powerpoint;
  2. Filling in a form to complete e.g. a questionnaire or gather data from your customer;
  3. Making choices, used for options determining the next step;
  4. Sharing websites or internet applications;
  5. Showing templates or embedded content like videos;
  6. Sending emails. This is useful to confirm a follow up meeting or to send documents;
  7. Signing documents;
  8. Uploading files;

The functionality to create your own scripts is available for Idiligo Plus users.
For creating and modifying scripts you need administrator rights.

Start creating your own script in XML

To create your own script go to "Manage Scripts" and click "New". Each script has a unique number and a description. The number of the script is given automatically, and can be modified manually. Fill in a logical description for the script, like: "sales pitch new customers".

Copy the following code in your script:


That's it, you' have created the basic structure. Now you can start filling the script with the nodes. The dots can be replaced by the nodes.

More advanced:
Additionally it is possible that a client can conduct a session on its own.
An agent can prepare the session and fill some data (in a node of type:Form). The node for this is placed between:


The client conducts the sessie on its own. All elements (nodes) are placed between:


A script could have the following basic structure:


Present a document

Copy the following code to your script:

<node id="Mypresentation" type="File"> 
<name>The presentation</name>
<attachment fileCode="pres001" templateCode="" attach="true"/>

Step -1- Make sure the node id is unique.
Step -2- You can give the node a descriptive name.
Step -3- Add a document to the Document Library with an identical <fileCode>.



Multiple documents can be added to the node. Just copy the attachment line, change the second fileCode and add an additional document to the Document Library.

During the session you can toggle between the documents. 

Fill in a form

The node "Form" is there to get information from your customer. In this node you can ask questions and gather data.

Copy the following code to your script:

<node id="Checkingdata" type="Form"> 
<name>The customer information</name>
<title>The customer information</title>
<text>The customer information</text>
<field name="company name" text="Company" />
<field name="gender" text="mister / miss">
<option value=" "><text> </text></option>
<option value="mister"><text>mister</text></option>
<option value="miss"><text>miss</text></option>
<field name="family name" text="Last name" />
<field name="birth names" text="First name" />

Step -1- Make sure the node id is unique
Step -2- You can give the node a descriptive name
Step -3- Change the title, it will be visible on top of the screen
Step -4- Change the text, it's the subtitle and visible
Step -5- Change the fields: The field name is the name of the database field. The text is the name appearing on the screen.


Advanced: system field names

Idiligo has system field names, which can be used in those forms. Thos system field names can be used by adding the parameter linkedField="...". 

Example: <field name="relation name" text="Name of the relation" linkedField="contact:Full Name" />

For a complete overview of all available system field names see below.

Advanced: Re-using the fields:
The information collected by fields can be re-used in templates or documents.
You can use these fields for example in a template: [flow:Remark] or [relation:Company Name].
The filled remark will appear in your screens during a session on a template with this reference.
Advanced: Drop-down field:
The field “Gender” in the example above is an example of a “drop-down” field with 2 possible options.
The options start with <options> and end with </options>

Only in case of a drop-down field, a field ends with </field>
Advanced part 2

  1. You can adjust the width and the height of a field by specifying rows=”X” cols=”Y”
    <field name="companyname" text="Company name" linkedField="relation:Company Name" rows="2" 
  2. You can make fields mandatory. A mandatory field must be filled in before you can go to the next step.
    <field name="companyname" text="Company name" linkedField="relation:Company Name" 
  3. A separate text line can be made by adding the field type rowWithtext, example:
    <field name="header" text="Your details" type="rowWithText"> </field>
  4. The text of a field can be enhanced with:
    Bold: place the text between **
    Italic: place the text between *
    Line break: add 7 ^^^^^^^
    Tab: use >
    Picture: use ![text](link of the picture)


<node id="Checkingdata" type="Form"> 
<name>The customer information</name>
<title>The customer information</title>
<text>The customer information</text>
<field name="company name" text="Company^^^^^^^if applicable" />
<field name="gender" text="mister / miss">
<option value=" "><text> </text></option>
<option value="mister"><text>mister</text></option>
<option value="miss"><text>miss</text></option>
<field name="family name" text="**Last name**" />
<field name="birth names" text="*First name*" />
<field name="hobby" text="![lounger]( hobby" />

Making choices


<node id="Mychoice" type="Choice"> 
<title>I can show you the following</title>
<text>Make a choice:</text>
<option value="Presentation"><text>Give a presentation.</text><goto>Node1</goto>
</option >
<option value="Website"><text>Share a website.</text><goto>Node2</goto></option >
<option value="Form"><text>Fill in a form.</text><goto>Node3</goto></option >
<option value="Offer"><text>The customer signs.</text><goto>Node4</goto></option >

The name of the node (in this case: choice01) is also the name of the database-field. This field is filled with the option value. 

Share a website


<node id="Node7" type="ShowBrowse"> 
<name>ShowBrowse my website</name>

To use this node either the web application contains a Javascript TAG or an extension needs to be activated in the browser of the agent. See our extension.
The agent will browse and the client will follow this. If you want the client to browse use ShowBrowseReverse as type.
In case the website allows you can add values to the url. See this example for a Dutch mortgage calculation:

The values are derived from a form:

<node id="waarden" type="Form"> 
<name>Waarden invullen Hypotheekbond</name>
<field name="bruto_jaarinkomen" text="bruto_jaarinkomen" linkedField="" />
<field name="partner_bruto_jaarinkomen" text="partner_bruto_jaarinkomen"
linkedField="" />
<field name="koopprijs" text="kooprijs" linkedField="" />
<field name="eigen_geld" text="eigen_geld" linkedField="" />
<field name="studieschuld" text="studieschuld" linkedField="" />
<field name="kredieten" text="kredieten" linkedField="" />

And called for in the following ShowBrowse-node:

<node id="sb" type="ShowBrowse"> 
<name>Showbrowsing Hypotheekbond</name>

Show templates, html and video's

With templates dynamic documents can be presented to the participant, or templates can be used to show html contact, like for example YouTube videos.

Copy the following code to your script:

<node id="Node6" type="Template"> 
<name>Fill in the name of the template</name>

Step -1- Make sure the node id is unique

Step -2- You can give the node a desciptive name

Step -3- Add a template to the Template Library with an identical <templateCode>


The added template can contain html-content like a YouTube movie. In this case copy the following code in the template (make sure that in the template you select the code-button first): 

<iframe width="550" height="310" src=";autoplay=1;showinfo=0" frameborder="0" allowfullscreen=""></iframe>

 This code can be copied from YouTube (embedded code). Take care that  autoplay=1, or add this part.

Send emails


<node id="Node3" type="Email"> 
<name>Example how to send an email including attachments and
<attachment fileCode="pres001" attach="true" />
<attachment templateCode="att001" attach="true" />

The email template can be created under “Settings /Templates”. Make sure the templatecode is identical. 

  1. In case a file is attached the filecode should be identical to the code in the “Document Library”.
  2. In case a template is attached to the email make sure the templatecode is identical to the template created under menu “Templates”.
    The attached template can e.g. be a personalized offer and containing information gathered in the script (e.g. <flow:Remark> or <relation:Company Name>).
    The template will be attached as a PDF document.

Sign documents


<node id="sign01" type="Sign"> 
<name>Example how to sign file(s)</name>
<sign fileCode="testdoc" />
<sign templateCode="testtemplate" />
<sign uploadId="cv01" />

Sign documents is a node to sign either a document from the library (PDF only), a document just uploaded (PDF only) or a template (PDF is created on the spot). We make use of an external solution. Ask us about the supported providers.

There a 2 possible types of signatures.

  1. a name and a signature;
  2. a name and a signature and a SMS-code.

The second option with the SMS-code is selected automatically in the following situation:
The contact person should be selected at the start of the session and the mobile number should be filled. This can be filled during the session using a Form including a so called Linkedfield. 

Upload files


<node id="uploadClient" type="Upload"> 
<name>Example how to upload file(s)</name>
<upload name="curriculum vitae" description="CV van de client" externalId="cv01"
fileTypes="pdf,jpg" mandatory="true" />

Upload is a node to add documents to the flow.

Uploading documents is useful when you need to collect and store documents in a session.
Documents are uploaded by the client and can be retrieved after the session by the agent (click on edit session).

Node structure

A script contains nodes. All nodes have the following structure:

<node id="NodeName" type="XYZ"> 
  1. Each node has a unique “node id”. We suggest to avoid blancs in the node id.
  2. A node has a type. The following types are available: File, Form, Choice, Email, ShowBrowse, ShowbrowseReverse, Template, Upload and Sign.
  3. Each node has a name.
  4. A node can have a title and additional text fields.
  5. A node has content, depending on the type. See further for all possibilities.
  6. Nodes can be made invisible for the client (use visible="false")
  7. Each node can end with a goto field. Here the name of the next node is mentioned.
  8. Optionally a node can have actions.


We support the following actions:

  1. An alert (pop up notification)
    <action type="Alert" trigger="Next" fireOnce="true" text="Are you sure?" />
  2. An email
    <action type="Mail" trigger="Load" fireOnce="true" text="The user completes the form!"
    email="" />
  3. Last step of a Client
    <action type="ClientReady" trigger="Load" fireOnce="true" />

 A user can visit this node multiple time, but the action is executed once.

The action is performed when loading the node.

The action is performed when stepping to the next node.

Field Names

The system contains database fields which can be used in scripts and in templates


Customer (your organisation)    Relation (the participant)     Contact (the participant)
[customer:Customer Number][relation:Code][contact:Relation]
[customer:Company Name][relation:Company Name][contact:Commencement]
[customer:VAT Number][relation:VAT Number][contact:Birth Names]
[customer:Company Number][relation:Company Number]      [contact:Initials]
[customer:Family Name][relation:Address][contact:Family Name]
[customer:Prefix][relation:Zip Code][contact:Prefix]
[customer:Zip Code][relation:Postal Address][contact:Telephone Direct]
[customer:City] [relation:Postal Zip Code][contact:Telephone Mobile]
[customer:Adres][relation:Postal City][contact:Telephone Office]
[customer:ApiKey][relation:Postal Country][contact:Department]
[customer:Culture][relation:Website][contact:Job Title]
[customer:Full Name][relation:Telephone Number][contact:Remarks]
[customer:Full Family Name][relation:Fax Number][contact:Full Name]
[customer:Commencement][relation:Number of calls][contact:Full Family Name]
[relation:Commencement][contact:Full Commencement]
[relation:Birth Names]
User (the agent)[relation:Family Name]Call (the session)
[user:Initials][relation:Job Title][call:Route]
[user:Customer][relation:Telephone Direct][call:ShowbrowsingHtml]
[user:QuickRoute][relation:Telephone Mobile][call:Gebruiker]
[user:Full Name][relation:Branche][call:Relation]
[user:Online][relation:Full Private Name][call:Contact]
[relation:Full Name][call:ContactEmail]
[relation:Full Family Name][call:Start]
[relation:Full Commencement][call:End]
[relation:Date Status][call:Remarks]
[relation:Date Reminder][call:Open]
[relation:Days to Reminder][call:EventCount]


We have many examples of scripts and templates. Contact us to receive them.