Skip to main content

Automations & Scripting

  • October 19, 2021
  • 2 replies
  • 14 views

Forum|alt.badge.img+14

Hi - We would like to send a formatted email once a script is executed. How do we set-up the automation to have text output, with formatting, into an email that is sent?

Here is the flow:

Time trigger
Run Script
Send Email

I know we can use the script to update a record and have another trigger to email, but it doesn’t format and seems there is a more direct way.

Any help is appreciated.

2 replies

kuovonne
Forum|alt.badge.img+29
  • Brainy
  • 6009 replies
  • October 19, 2021

If you are trying to use output from the script in a later automation action, you use output.set().

It is described in the documentation.

However, the ability to format the text is the same as if you saved the text to a record. Is there a particular type of formatting that you are trying to achieve?


Forum|alt.badge.img+14
  • Author
  • Inspiring
  • 93 replies
  • October 19, 2021

If you are trying to use output from the script in a later automation action, you use output.set().

It is described in the documentation.

However, the ability to format the text is the same as if you saved the text to a record. Is there a particular type of formatting that you are trying to achieve?


At present, I have created a task management system and am trying to create a better notification system.

I would like to be able to format sections of the notifications and in addition have similar formatting to how Airtable provides notifications natively:

This is what it looks like without formatting: