|
Os tipos de arquivos clássicos não estarão mais disponíveis para uso a partir de janeiro de 2021. Você pode fazer a transição de seus arquivos clássicos ou baixar um PDF. Saber mais

Wdata - File ID for emailing files

Respondida
0

Comentários

3 comentários

  • Jeff Hickey

    Hi John, a simple way to accomplish this would be to use Chain notifications. First, you'd need to retrieve the Sheet data using the Get Sheet Data command. Then configure a notification for the command and add the Sheet Data as an attachment. More information on how to create notifications can be found in the Manage chain and command notifications documentation. This will send the data from the Sheet as a .csv file attached to the notification email.

    0
  • John May

    Jeff,

     

    Thanks for the overview, I was able to get that to work. Is there a more complex way that would keep the formatting of the spreadsheet?

     

    0
  • Jeff Hickey

    The Spreadsheet API only extracts data and not formatting. However, you could use Handlebars to build HTML tables. Or if your Sheet was small, you could extract the data from the cells and apply some formatting to the notification text body (eg. <b>this text is bold</b>). This would be tough to scale for a large Sheet and would require you to maintain formatting in both the Spreadsheet and Notification.

    0

Por favor, entrar para comentar.