Create smart chips for link previewing in Google Docs- Google Developers Blog
Dec 19, 2023Chanel Greco

Summary
This post details the technical implementation of creating third-party smart chips for Google Docs. It explains how Google Workspace Add-ons and the Google Workspace Marketplace facilitate this feature. The post provides code examples for the manifest file, which defines URL patterns for link preview triggers, and for the Apps Script code that fetches data and builds the smart chip's card interface using widgets. It also outlines the choice between Google Apps Script and alternate runtimes for add-on development.
More from the Google Developer Platform trail
- Autonomous LLM post-training with Tunix on TPUs- Google Developers Blog
- HeyGen x Google Cloud: Bringing Avatar IV to TPUs- Google Developers Blog
- Run Ray on TPU, Part 2: Ray AI libraries- Google Developers Blog
- Scaling Agentic RL: High-Throughput Agentic Training with Tunix- Google Developers Blog
- Run Ray on TPU, Part 1: The foundations- Google Developers Blog