recipe-draft-email-from-doc
от Google
Read content from a Google Doc and use it as the body of a Gmail message.
npx skills add https://github.com/googleworkspace/cli --skill recipe-draft-email-from-docDraft a Gmail Message from a Google Doc
PREREQUISITE: Load the following skills to execute this recipe:
gws-docs,gws-gmail
Read content from a Google Doc and use it as the body of a Gmail message.
Steps
- Get the document content:
gws docs documents get --params '{"documentId": "DOC_ID"}' - Copy the text from the body content
- Send the email:
gws gmail +send --to [email protected] --subject 'Newsletter Update' --body 'CONTENT_FROM_DOC'
Больше skills от Google
gws-modelarmor-sanitize-response
Google
Google Model Armor: Очистка ответа модели с помощью шаблона Model Armor.
gws-people
Google
Google People: Управление контактами и профилями.
gws-shared
Google
gws CLI: Общие шаблоны для аутентификации, глобальных флагов и форматирования вывода.
gws-sheets
Google
Google Sheets: Чтение и запись электронных таблиц.
gws-sheets-append
Google
Google Sheets: Добавить строку в таблицу.
gws-sheets-read
Google
Google Sheets: Чтение значений из электронной таблицы.
gws-slides
Google
Google Slides: Чтение и запись презентаций.
gws-tasks
Google
Google Tasks: Управление списками задач и задачами.