Перейти к содержанию
НОВОЕДоктор ошибок и Сторожевая башня: сбои запусков n8n объясняются простыми словами и приходят вам на почту. Что нового

Библиотека / Документы, PDF и OCR

Документы, PDF и OCR

Заполнение шаблона Google Docs изображениями

При запуске копирует документ-шаблон из Google Drive, находит заполнители изображений и заменяет их вашими изображениями.

Что делает

OPTIONAL If you want to create multiple documents with multiple images then create a template in your GDrive folder with a placeholder image that you want to replace. This template will be copied each time you run the flow, and the ID of that new document will be passed to find image ID in Docx to find the relevant image to replace with your image url. If you are just doing this for a single document then remove the find and copy docx template node. If you do this step, follow the [n8n guide]({{ $env.WEBHOOK_URL }} on how to connect to your GDrive account.

Шаги

  1. When clicking ‘Test workflow’
  2. Find Image ID in Docx
  3. Make file shareable publically (optional)
  4. Image URL
  5. Find & Copy Docx Template
  6. Own datasource
  7. Replace Image in Docx
  8. Download File - Docx
  9. Download File - PDF
  10. Error Handler
  11. Stopanderror 1
  12. Error Handler for 16bbf5da
  13. Error Handler for 60325192
  14. Error Handler for d33a913a

Всего шагов: 32.

Похожие автоматизации