WhatsApp Click-to-Chat Generator

Click 2 Chat allows external systems, such as your CRM, to open a WhatsApp conversation directly in Saysimple using a single link.

You can use this feature to open an existing conversation, start a new one, or prepare a WhatsApp message or template for an agent to review and send from Saysimple.

In this article, we explain how to create and configure a Click 2 Chat link.

image.png

How Click 2 Chat works

The basic structure of the link is:

https://app.saysimple.io/saysimple-hq/start-chat?channelId=84&handle=

Every link contains two required parameters:

  • channelId: Identifies the WhatsApp channel to be used. This value is already included in the base link.

  • handle: The customer's WhatsApp phone number in international format or their WhatsApp Business-Scoped User ID (BSUID).

For example:

https://app.saysimple.io/saysimple-hq/start-chat?channelId=84&handle=+31612345678

When the link is opened, Saysimple looks for an existing conversation with that customer or prepares a new one if no conversation exists.

Additional parameters

You can add optional parameters to the link to customise the conversation:

1. template (optional)

The exact name of an approved WhatsApp template available on the selected channel. The template will appear selected in the dialog, ready to send.

Example: template=order_update

2. language (optional)

The language code of the template. This is required when the template is available in multiple languages.

Example: language=nl

3. variables (optional)

Allows you to populate the template's body variables. You can provide the values either as a JSON array, which fills them in order, or as a JSON object, which fills them in by variable name.

Example using the order of the variables:

variables=["John","A-123"]

Example using variable names:

variables={"first_name":"John","license_plate":"A-123"}

4. contact (optional)

Allows you to send contact information from your system as a JSON object. If the contact does not exist yet, it will be created automatically. If the contact already exists, its details will be updated.

You can include the following fields:

  • firstName: First name.

  • lastName: Last name.

  • reference: Reference.

  • country: Country.

  • externalId: External ID.

  • emailAddresses: Email addresses (list).

  • phoneNumbers: Phone numbers (list).

  • isFavorite: Indicates whether the contact is a favourite (true or false).

  • isBlocked: Indicates whether the contact is blocked (true or false).

  • optedOut: Indicates whether the contact has opted out of communications (true or false).

  • customFields: Custom fields, identified by their respective identifiers.

  • updatedAt: The date and time when the contact was last updated in your system.

Please note that empty values clear the corresponding fields. New list values are added to the values already stored.

Example:

contact={"updatedAt":"2026-10-12T09:30:00Z","firstName":"John","lastName":"Doe","emailAddresses":["john@example.com"],"externalId":"crm-12345","customFields":{"license_plate":"AB-123-C"}}

5. text (optional)

Allows you to enter a message in the text box of an existing conversation. The agent can review the message and click Send when ready.

This parameter is only used when the WhatsApp customer care window is open. If a new conversation is started, an approved template must be used instead.

Example:

text=Hi John, your car is ready.

Full example

Below is an example of a link that includes the customer's phone number, a template, the language and the corresponding variables:

https://app.saysimple.io/saysimple-hq/start-chat?channelId=84&handle=+31612345678&template=order_update&language=nl&variables=["John","A-123"]

When this link is opened, Saysimple selects the corresponding WhatsApp channel, finds or prepares the customer's conversation, and loads the template with its variables so the agent can review and send it.

Important information

  • URL-encode all parameter values before adding them to the link. You can use encodeURIComponent in JavaScript to do this.

  • Pay particular attention to the + symbol in phone numbers. If it is not encoded correctly, it may be interpreted as a space.

  • The link never sends messages automatically. The agent must always review the message and click Send from within Saysimple.


Was this article helpful?