/retool-integration

Zeplin and Retool: Complete Integration Guide 2024

Learn how to integrate Retool with Zeplin for streamlined app development, from setting up API access to displaying and updating data within Retool effortlessly.

Matt Graham, CEO of Rapid Developers

Book a call with an Expert

Starting a new venture? Need to upgrade your web or mobile app? RapidDev builds Retool apps with your growth in mind.

Book a free No-Code consultation

How to integrate Retool with Zeplin?

 

Integrating Retool with Zeplin

 

Integrating Retool with Zeplin combines Retool’s flexible application-building capabilities with Zeplin’s design handoff features to streamline app development and design implementation. Below is a comprehensive guide to achieving this integration.

 

Prerequisites

 

  • A valid Retool account with access to the projects you intend to work on.
  • A Zeplin account with the designs that you want to integrate into Retool.
  • Basic knowledge of using APIs, as Zeplin's API will be necessary for integration.
  • Ensure both tools are accessible from your network environment.

 

Setting Up the API Access

 

  • Log in to your Zeplin account and navigate to the Zeplin Developer Portal.
  • Create a new Personal Access Token that you will use to authenticate API calls. Note the token for later use.
  • Ensure your projects in Zeplin are properly organized and ready to be accessed via the API.

 

Configuring Retool for API Integration

 

  • Log in to your Retool account and open the dashboard.
  • From the Retool dashboard, go to 'Resources' and select 'Create New' to set up a new API resource.
  • Choose the 'REST API' option since Zeplin provides RESTful API endpoints.
  • Enter the base URL for the Zeplin API: https://api.zeplin.io/v1.
  • Configure authentication by selecting 'Bearer Token'. Paste the token you obtained from Zeplin's portal earlier.
  • Save the resource and ensure it is active for your application use.

 

Fetching Data from Zeplin

 

  • Create a new query in your Retool application by selecting 'New' and then 'Query'.
  • Choose the Zeplin API resource you previously created as the data source for this query.
  • Enter the appropriate endpoint for the Zeplin data you want to retrieve, such as /projects/{project_id}/components to fetch components from a specific project.
  • Use query parameters if necessary to filter the results or enhance the query scope.
  • Test the query to ensure it successfully retrieves data by clicking 'Preview'. Correct any errors that arise by checking authentication or endpoint configurations.

 

Displaying Zeplin Data within Retool

 

  • In Retool, proceed to the UI builder interface to visualize the data fetched from Zeplin.
  • Drag and drop components onto the canvas. For example, use tables or lists to display fetched Zeplin project components.
  • Bind components' data properties to the output of your Zeplin query. This can be done by accessing your query's data in the data binding settings.

 

Updating Zeplin Data through Retool

 

  • To update Zeplin data via Retool, create a new query pointing to the API endpoint responsible for updates, such as /projects/{projectid}/components/{componentid} with a PUT request for updating components.
  • Configure the request body to include the necessary data fields you intend to update. Use dynamic values from Retool's UI components if necessary.
  • Test the update query and ensure changes reflect appropriately in Zeplin by checking directly in the Zeplin interface.

 

Testing the Integration

 

  • Ensure your Retool setup with Zeplin data is functional by interacting with the UI in preview mode.
  • Verify that data is correctly fetched, displayed, and updated without error messages or improper data handling issues.
  • Check logs and console outputs if unexpected behavior occurs to mitigate issues regarding permissions or incorrect data paths.

 

Optimizing Your Workflow

 

  • Consider setting up automated queries or using Retool's built-in scheduling functionality to refresh data at specified intervals.
  • Leverage Retool’s various UI components to create a more interactive interface for the data retrieved from Zeplin, such as using charts or advanced tables.
  • Document the integration process and configuration within your team to facilitate easier onboarding and troubleshooting in the future.

 

By following this detailed guide, you should be able to successfully integrate Zeplin with Retool, effectively utilizing design resources while enhancing your application-building process. Ensure continuous testing and adjustments to optimize performance and usability.

Want to explore opportunities to work with us?

Connect with our team to unlock the full potential of no-code solutions with a no-commitment consultation!

Book a Free Consultation

Client trust and success are our top priorities

When it comes to serving you, we sweat the little things. That’s why our work makes a big impact.

Rapid Dev was an exceptional project management organization and the best development collaborators I've had the pleasure of working with. They do complex work on extremely fast timelines and effectively manage the testing and pre-launch process to deliver the best possible product. I'm extremely impressed with their execution ability.

CPO, Praction - Arkady Sokolov

May 2, 2023

Working with Matt was comparable to having another co-founder on the team, but without the commitment or cost. He has a strategic mindset and willing to change the scope of the project in real time based on the needs of the client. A true strategic thought partner!

Co-Founder, Arc - Donald Muir

Dec 27, 2022

Rapid Dev are 10/10, excellent communicators - the best I've ever encountered in the tech dev space. They always go the extra mile, they genuinely care, they respond quickly, they're flexible, adaptable and their enthusiasm is amazing.

Co-CEO, Grantify - Mat Westergreen-Thorne

Oct 15, 2022

Rapid Dev is an excellent developer for no-code and low-code solutions.
We’ve had great success since launching the platform in November 2023. In a few months, we’ve gained over 1,000 new active users. We’ve also secured several dozen bookings on the platform and seen about 70% new user month-over-month growth since the launch.

Co-Founder, Church Real Estate Marketplace - Emmanuel Brown

May 1, 2024 

Matt’s dedication to executing our vision and his commitment to the project deadline were impressive. 
This was such a specific project, and Matt really delivered. We worked with a really fast turnaround, and he always delivered. The site was a perfect prop for us!

Production Manager, Media Production Company - Samantha Fekete

Sep 23, 2022