Sheetlabs
Workflow Automation
Overview
Sheetlabs is a platform that turns Google Sheets or Excel files into easy-to-use, RESTful APIs. When integrated with CleverTap, it enables you to use a spreadsheet as a lightweight customer data source or content manager for campaigns.
With this integration, you can:
- Pull dynamic content (for example, messages, titles) into your CleverTap campaigns using Linked Content.
- Push user data from CleverTap into a Sheetlabs spreadsheet using Webhooks.
Prerequisites for Integration
The following are the prerequisites for integrating Sheetlabs with CleverTap:
- Ensure you have a valid Sheetlabs account.
- Ensure you have a spreadsheet in either Google Sheets or in CSV/Excel format
- Ensure you have access to the CleverTap dashboard.
Integrate Sheetlabs with CleverTap
The integration process involves the following three major steps:
- Create an API in Sheetlabs
- Configure Linked Content API.
- Create Personalized Campaign Using Linked Content.
Import Your Spreadsheet into Sheetlabs
To use Sheetlabs as a content source, import your spreadsheet into Sheetlabs by uploading a CSV/Excel file or connecting your Google account to import a Google Sheet. You can optionally enable auto-sync to keep the data updated automatically.
Create an API in Sheetlabs
To programmatically access your imported table data from Sheetlabs, you must create an API. This allows you to fetch data dynamically and use it across external tools or platforms. To do so, perform the following steps:
- From API section of your Sheetlabs dashboard, click + New API.
- Select the Data table you just imported.

Create an API in Sheetlabs
- Name your API and optionally add a description.
- Select GET as the method to fetch data.
- Copy the Base URL for the API.

Copy Base URL
Configure Linked Content API
Set up Linked Content in CleverTap to connect your Sheetlabs API and retrieve dynamic campaign content using user profile parameters. To do so, perform the following steps:
- Go to Settings > Setup > Linked Content in the CleverTap dashboard.
- Click + Linked Content.

Add Linked Content
- In the URL field, paste the Base URL copied in Step 5 of Create an API in Sheetlabs, and append the parameter
ID={{id}}
to personalize the request.
Example:
<BASE_URL_FROM_SHEETLABS>?ID={{id}}
In this example, ID
is used to identify the user, and the corresponding Title
and Message
fields from the sheet will be used in the campaign. ID
acts as the lookup parameter for fetching personalized content.
- Click Test Linked Content to verify if the data is being correctly retrieved based on the
ID
provided from the linked Google Sheet.
Example API response:
[
{
"ID": 1234,
"Title": "Hey",
"Message": "How have you been?",
"Button": "Buy Now!"
}
]
Auto-mapping
Auto-mapping of objects and labels is not supported for this type of array-based response from the Sheetlabs API. You need to manually iterate through the JSON response using Liquid tags to access specific values.
- Click Test and Save to save this API.

Save Linked Content
Once the Sheetlabs data is available through Linked Content, you can use it in any CleverTap campaign that supports personalization, such as Push Notifications or Email Campaigns.
Create Personalized Campaign Using Linked Content
Use the Linked Content API inside a Push Notification campaign to personalize the message with Sheetlabs.
To do so, perform the following steps:
-
Go to Campaigns from the CleverTap dashboard and click + Campaign.
-
Select Push Notification from the Messaging Channels list.
-
Configure all the campaign settings and then go to the What section:
- Click Personalization.
- Select the Linked Content configured under Configure Linked Content API and click Apply.

Personalization
- Type
{
,{{
, or@
to view available personalization options. For more information about how to personalize a message using Linked Content, refer to CleverTap Liquid tag.

Create Personalized Message Using Linked Content
- Click Preview and Test to see if the campaign pushes the default values you configured.
- Click Publish to launch the campaign. Verify that everything works as intended. Users will receive a push notification like the one below.

Push Notifications
Similarly, you can apply this setup to other CleverTap campaigns using linked content, such as Email, WhatsApp, or Web Push.
Updated 3 days ago