0

I have created an add-on sidebar:
 https://developers.google.com/gsuite/add-ons/cats-quickstart

I use that to send an email, so I have created an email template. So far so good. Inside my email template there is button.
 What I need, is that when the user clicks that button I want to open the add-on (sidebar).

I can’t find anything on Google documentation, so I am not sure if that’s possible or not. So I would appreciate any suggestions

Rubén
  • 34,714
  • 9
  • 70
  • 166
Ago-S
  • 1
  • 3
  • Hello @Ago-S, is this link [here](https://developers.google.com/apps-script/reference/card-service/button#setonclickactionaction) of help to you? Moreover, would you mind sharing the code you have? Cheers! – ale13 Apr 02 '20 at 09:10
  • @ale13 Thanks for your response. This the button in my email template that I want, onClick, to open the Add-on sidebar: `' Open Add-on to do an action\n' + "
    \n" +` The link you sent is useful for actions inside the add-on (sidebar). But in my case the user just got the email template with the above button in it, so what I need is that button to trigger the add-on to open
    – Ago-S Apr 02 '20 at 11:26
  • Hello @Ago-S, how are you creating the email template - are you using AMP? Cheers! – ale13 Apr 08 '20 at 14:56

0 Answers0