Blog →

Retool Tutorial: Integrating Your Data into Missive

Table of content

by

Philippe Lehoux

November 30, 2022

· Updated on

The process of switching between multiple apps to get all the information you need is counterproductive.

You may experience this problem if you have to switch between your CRM and email client to access information about your client.

Wouldn't it be great to quickly access all of the information you need directly in your email?

If you are using Missive to manage your personal and team emails and you want to display data from your own database or from a Google Sheet, Retool is a good tool to use.

Here is a tutorial on how to use the Retool integration to add this data to Missive.

What Is Retool?

Retool is a powerful and flexible tool that helps you build custom internal applications quickly and easily. It provides a simple, but powerful, drag-and-drop interface that lets you add any data source to custom applications and share them with your team.

How to Use Retool with Missive?

Retool is a great way to create a custom integration that connects a source of data with an application used by your team. You can easily use this low-code solution to build the internal tools you need to kickstart your team's productivity.

In this tutorial, we'll explore how to use Retool to display data from a Google Sheet next to your emails in Missive.

Retool integration in Missive sidebar
 

1. Creating Our Queries in Retool

To be able to see the data of a Google spreadsheet alongside conversations, we'll need to query our Google Sheet document in a Retool application embedded in Missive.

We must first create three queries in our Retool application. To do so, let's log in to Retool and create a new app by clicking on Create new > App. If you don't already have one, create a Retool account.

Then we must create our data queries:

  1. One will query data from the Missive application.
  2. One will query data from a Google Sheet.
  3. One will merge those two data sources and display the correct data in the Retool application (Missive sidebar).

We can add a data source to your Retool application by clicking the + icon and selecting the Resource query. We will first create the query that gets the data of the selected conversation in Missive.

We can add a data source to your Retool application by clicking the + icon in the bottom left panel named Code and selecting Resource query.

To start let's create a query that will fetch the data of the selected conversation in Missive.

Retool dashboard creating a new query
 

Below, we're calling the query getCurrentConversation , but feel free to change the name if you wish. The resource select should be set to ParentWindow and the selector input should be set to conversation.

Retool dadhboard of getCurrentConversation query
 

The second query connects our Google Sheet to Retool. To create it, add a new query as we did previously. In Resource , select + Create a new resource. Then select Google Sheets and follow the instructions.

Retool dashboard creating a new resource
 

From there, we can select the spreadsheet you would like to connect to.

Retool dashboard selecting a resource type
 

We can test with one that has the same columns as this one:

Google Sheet with our data
 

Lastly, we need to create the query that will merge the data from Missive with the spreadsheet. we'll simply name it query. For this one, select Query JSON with SQL as the Resource.

JSON query in Retool
 

The query should be as follows:

select * from {{ googleSheet.data }} where Email = ANY({{getCurrentConversation.data.email_addresses.map(x => x.address.toLowerCase())}})

In a nutshell, this will find all of the rows in the spreadsheet where the email address is equal to at least one in the selected conversation in Missive.

2. Creating a UI for Missive

Now that we have the correct data, we can build a simple user interface to display it. In the right panel of the Retool editor, select the Create tab, then drag and drop the Key Value component in your application.

Creating a Key Value component in Retool
 

Then select the dropped component and in the Inspect tab of the right panel and in the Data input paste {{ query.data[0] }}.

Inspect data in the Key Value component in Retool
 

That's it! We've got a basic but functional application.

Before we try it in Missive, let's make some stylistic changes to the Retool application so it renders better in the Missive right sidebar.

For this, select the More menu at the top-right corner, then select the Scripts and styles option.

Script and style App actions in Retool
 

Then paste this CSS code:

._retool-container-table1 {
   width: 100% !important;
}

._retool-container-keyValue1 {
   width: 100% !important;
}

The ._retool-container-keyValue1 class name depends on the name of your component. Make sure to update it according to your component name.

Adding CSS to our component in Retool
 

This CSS will make the component dynamically resize with the Missive sidebar width.

3. Adding Our Retool Application in Missive

It's time to try this in Missive! Copy the link View link of your application:

Copying Retool app link
 

In Missive, open the Settings > Integrations and add a Retool integration, paste the copied link in the Retool public URL input:

Pasting Retool app link in Missive
 

Lastly, add this ?_embed=true at the end of the pasted URL. It will remove the Retool header from the integration for a far better look.

Retool link with embed at the end vs. a version without
 

Also, make sure to disable the Enable mobile layout from your Retool app settings:

Fix weird rendering issue
 

And here is the final result!

‍

Using Missive JS API from Retool

You can also take advantage of Missive JS API from your Retool app. Here are the steps to do so:

1. Enable parent window communication

By default, Retool will block any communication between the app and its parent window (Missive). You can enable it in your Beta settings:

Emable parent window communication
 

2. Add missive-retool.js library to your Retool app

Add this script in the Scripts and styles section of your Retool app:

https://integrations.missiveapp.com/retool/missive-retool.js

Scripts and styles
 
Add library
 

3. Use the Missive JS API

You can now use the Missive JS API from your Retool app. You can, for example, add a link that will add new comments and tasks to the selected conversation:

Use Missive JS API
 
New comments added to Missive
 

Related articles

Explore more
Tips & Templates

February 5, 2024

The 9 customer satisfaction metrics every team should be tracking

You can’t improve what you don’t measure. Here are the nine customer satisfaction metrics that actually tell you something useful — how to calculate each, when to use them, and what to do with the numbers.

Read more
Tips & Templates

July 27, 2020

How to set up Facebook Messenger for Business?

For most companies, being able to connect with leads, customers or followers on social media is crucial,...

Read more
Tips & Templates

March 27, 2023

11 Email Etiquette Rules to Follow for the Best Customer Service

The 11 email etiquette rules every customer service team needs—from grammar and tone to canned responses, follow-ups, and response times—with practical tips for writing emails customers actually appreciate.

Read more
Tips & Templates

May 14, 2025

8 ways to use AI in your email inbox in 2026

Eight practical ways to use AI in your inbox in 2026: auto-categorize, route, escalate, draft, summarize, schedule meetings, and pull past context.

Read more
Tips & Templates

May 4, 2021

How to automate customer support (without losing the human touch)

Your team doesn’t need to manually sort, label, and assign every email. Here’s how to automate the repetitive parts of customer support so your team can focus on helping people.

Read more
Customer Service

September 23, 2020

How to add live chat to Squarespace (and manage it without losing your mind)

Squarespace doesn’t have built-in live chat. Here are the six tools worth shortlisting (with prices), how to add a chat widget, and how to handle conversations alongside your email.

Read more
Team Collaboration

September 16, 2025

The 6 most secure email clients for collaborative teams

We looked at 6 of the most popular email clients for teams on the market, and scored them on 6 criteria: security hygiene, auditing & accountability, access, removal, and sign-in controls, privacy & data handling, external verification, and data residency.

Read more
Tips & Templates

December 19, 2023

66 Most Significant Customer Service Statistics in 2026

These statistics can help you see the direction the customer service industry is heading in—and what you need to do to prepare your business in 2026.

Read more
Customer Service

November 14, 2023

11 best email management software in 2026 (+ how to choose one)

Email management software helps you spend less time in your inbox and more time on actual work. Here are the 11 tools worth considering in 2026, what each is best for, and how to pick one that fits your team.

Read more

We live in our inboxes.
Let’s make email enjoyable.

Try us out for free, invite a few people to get a feel, and upgrade when you’re ready.

4.8 → Over 1000 reviews
4.8
→ 1000+ reviews