Script de aplicativo Envie os dados de volta para HTML

.withSuccessHandler(onSuccess)
https://developers.google.com/apps-script/guides/html/reference/run#withsuccesshandlerfunction
Blue Duck