Ana içeriğe geç

Resim Başlığı veya Alt Bilgisi Ekle Excel içinde n8n

Resim Başlığı/Altbilgisi Ekle bir PDF4me Excel operasyonda n8n Bu eklenti, bir .xlsx çalışma kitabının başlığına veya altbilgisine, sola, ortaya veya sağa konumlandırılmış, tek bir çalışma sayfasına veya tüm çalışma sayfalarına bir logo veya marka görseli ekler. Oluşturulan raporlara tutarlı kurumsal marka kimliği uygulamak için dosyayı açmadan kullanabilirsiniz. Excel.

Bu düğüm ne işe yarıyor?

PDF4me ExcelResim Başlığı/Altbilgisi Ekle Kaynak çalışma kitabını ve ayrı bir resim girişini alır, ardından resmi seçilen yatay konumda, yapılandırılabilir sayfa kenar boşluklarıyla sayfa başlığına veya altbilgisine yerleştirir. Hedef Çalışma Sayfaları, resmi ada göre belirli sayfalara veya boş bırakıldığında tüm çalışma kitabına uygular.

İlgili Blog Yazıları
Bu özellik için henüz bir blog yazısı yok — yakında yayınlanacak.
Bu arada, her platforma yönelik eğitimler ve iş akışları için PDF4me bloguna göz atın.
Blogu ziyaret edin

Kimliğinizi Doğrulama API Rica etmek

Her PDF4me düğümde n8n geçerli bir belge gerektirir Bağlantı kurmak için kimlik bilgisi. . İçeriğinizi barındıran birini oluşturun veya seçin. PDF4me API Bu sayede iş akışı, markalama taleplerini güvenli bir şekilde doğrulayabilir.

Kaçırmamanız Gereken Önemli Bilgiler

İki ayrı girdi: çalışma kitabı ve görüntü.
Excel Dosya Giriş Yöntemi ve Görüntü Giriş Yöntemi, her biri kendi İkili Veri Özellik Adına sahip olacak şekilde bağımsız olarak yapılandırılır; bu nedenle logo, çalışma kitabının kendisinden farklı bir yukarı akış düğümünden gelebilir.
Tek bir düğme ile üstbilgi veya altbilgi seçilebilir, ikisi birden seçilemez.
"Başlığa veya Altbilgiye Uygula" seçeneği, resmi her çalıştırmada yalnızca bir konuma yerleştirir. Bir logoyu başlığa, farklı bir işareti ise altbilgiye yerleştirmek için iki düğüm yürütülmesi gerekir.
Kenar boşlukları varsayılan olarak Excelstandart 1,9 cm
Üst, alt, sol ve sağ kenar boşluklarının tümü varsayılan olarak 1,9 santimetreye ayarlanmıştır. ExcelVarsayılan sayfa kenar boşluğuna sahip olduğundan, çoğu çalışma kitabında kenar boşluğu değişikliğine hiç gerek yoktur.
n8n'deki PDF4me Excel düğümü, İşlem olarak "Resim Başlığı/Altbilgisi Ekle", Excel Dosyası Giriş Yöntemi ve Resim Giriş Yöntemi her ikisi de "Önceki Düğümden (İkili Veri)", İkili Veri Özellik Adı "data", Resim İkili Veri Özellik Adı "image", Başlığa veya Altbilgiye Uygula seçeneği açık, Resim Konumu Merkez, Hedef Çalışma Sayfaları Sheet1, Üst Alt Sol Sağ Kenar Boşluğu 1.9, Çıktı Dosya Adı excel_with_image_header_footer.xlsx olarak ayarlanmıştır.

PDF4me Excel Resim Başlığı/Altbilgisi parametreleri panelini ekleyin. n8n

Resim başlığı/altbilgisi eklemek için hangi parametrelere ihtiyaç duyulur?

Gerekli: Operasyon, Excel Dosya Giriş Yöntemi, Görüntü Giriş Yöntemi, her iki yönteme de uyan giriş alanları ve Çıkış Dosya Adı. Üstbilgiye veya Altbilgiye Uygula, Görüntü Konumu, Hedef Çalışma Sayfaları ve dört kenar boşluğu alanı, varsayılan çalışma değerleriyle birlikte gelir.

ParametreGerekliNe işe yarar?Örnek
OperationRequiredSelects the PDF4me Excel action to run. Choose Add Image Header/Footer.Add Image Header/Footer
Excel File Input MethodRequiredHow the workbook reaches the node. From Previous Node (Binary Data) reads it from an upstream item; the dropdown also offers base64 and file URL alternatives.From Previous Node (Binary Data)
Binary Data Property NameConditionalName of the binary property on the incoming n8n item holding the .xlsx workbook. Applies when the input method is binary data. Defaults to data.data
Image Input MethodRequiredHow the image reaches the node, chosen independently of the workbook input. Supports Binary Data, Base64 String, or URL.From Previous Node (Binary Data)
Image Binary Data Property NameConditionalName of the binary property on the incoming n8n item holding the image file. Applies when Image Input Method is binary data.image
Apply to Header or FooterOptionalToggle that places the image in the header when on, or the footer when off. Default true (header).true
Image PositionOptionalHorizontal placement of the image. Left, Center, or Right. Default Center.Center
Target WorksheetsOptionalComma-separated worksheet names to apply the image to. Leave blank to apply it to every worksheet.Sheet1
Top MarginOptionalTop page margin in centimeters. Default 1.9.1.9
Bottom MarginOptionalBottom page margin in centimeters. Default 1.9.1.9
Left MarginOptionalLeft page margin in centimeters. Default 1.9.1.9
Right MarginOptionalRight page margin in centimeters. Default 1.9.1.9
Output File NameRequiredFilename for the branded workbook the node returns. Include the .xlsx extension.excel_with_image_header_footer.xlsx

Çıkış Alanları

Başarılı bir koşu bir getiri sağlar. n8n eşya taşıma JSON Meta veriler ve markalı çalışma kitabı ikili veri olarak.

AlanTipİçeriğinde neler var?
successBooleanTrue when the image was applied successfully. Use it to route error-handling branches.
fileNameStringFilename of the branded workbook, matching Output File Name.
fileSizeNumberSize of the returned workbook in bytes.
originalFileNameStringThe filename of the input workbook, echoed back for tracking.
isHeaderBooleanTrue when the image was placed in the header, false when placed in the footer.
positionStringHorizontal alignment applied to the image: Left, Center, or Right.
worksheetNamesArrayWorksheet names the image was applied to.
topMarginNumberTop page margin in centimeters, matching the Top Margin input.
bottomMarginNumberBottom page margin in centimeters, matching the Bottom Margin input.
leftMarginNumberLeft page margin in centimeters, matching the Left Margin input.
rightMarginNumberRight page margin in centimeters, matching the Right Margin input.
messageStringHuman-readable result message for the operation.
Binary (data)BinaryThe branded .xlsx workbook. Pass into Write Binary File, Email, or a cloud-storage upload.

N8N Eylem Yanıtı

JSON Yanıt Formatı

[
{
"fileName": "excel_with_image_header_footer.xlsx",
"fileSize": 221849,
"success": true,
"originalFileName": "myExcelFile.xlsx",
"isHeader": true,
"position": "Center",
"worksheetNames": ["Sheet1"],
"topMargin": 1.9,
"bottomMargin": 1.9,
"leftMargin": 1.9,
"rightMargin": 1.9,
"message": "Image header/footer added to Excel file successfully"
}
]

Resimli başlık/altbilgi eklemeyi nasıl ayarlayabilirim? n8n?

  1. Ekle PDF4me Excel düğümü iş akışınıza ekleyin ve ayarlayın. Operasyon ile Resim Başlığı/Altbilgisi Ekle.
  2. İçinde Bağlantı kurmak için kimlik bilgisi, sizinkini seçin PDF4me API veya kendi kimliğinizle bir tane oluşturun API anahtar.
  3. Ayarlamak Excel Dosya Giriş Yöntemi Ve İkili Veri Özellik Adı Kaynak çalışma kitabı için.
  4. Ayarlamak Görüntü Giriş Yöntemi Ve Görüntü İkili Veri Özellik Adı logo veya resim için.
  5. Anahtar Başlığa veya Altbilgiye Uygula Başlık görseli için açık, altbilgi görseli için kapalı.
  6. Ayarlamak Görüntü Konumu ile Sol, Merkez, veya Sağ.
  7. Ayarlamak Hedef Çalışma SayfalarıYa da resmi her yere uygulamak için boş bırakın ve gerekirse kenar boşluklarını ayarlayın.
  8. Ayarlamak Çıktı Dosya Adı sonlanan .xlsxDüğümü çalıştırın ve markalı çalışma kitabını ileriye doğru yönlendirin.

Tipik Kurulumlar

İş Akışı ÖrnekleriCommon n8n workflow patterns using Add Image Header/Footer for Excel.
Oluşturulan her raporda şirket logosu yer alsın.
  1. Zamanlama Tetikleyicisi, haftalık rakamlar çalışma kitabı oluşturur.
  2. Resim Başlığı/Altbilgisi Ekle seçeneği, şirket logosunu Başlığa veya Altbilgiye Uygula seçeneği ve Resim Konumu Sağ seçeneğiyle ekler.
  3. Kurumsal kimlik belgesiyle hazırlanan rapor, paydaşlara e-posta yoluyla gönderilir.
Teslim edilen ürünlerde müşteriyle ortak marka kullanımı
  1. Bir iş akışı, müşterinin logosunu çekiyor. URL bir CRM kayıt.
  2. Görüntü Giriş Yöntemi şu şekilde ayarlanmıştır: URL Bu nedenle logo doğrudan o kayıttan yüklenir.
  3. Çalışma kitabı, başlık kısmında müşterinin kendi marka kimliğiyle birlikte teslim edilir.
Altbilgide onay damgası
  1. Bir yönetici dahili bir araçta onay verdiğinde, onay webhook'u tetiklenir.
  2. "Üst Bilgiye/Alt Bilgiye Resim Ekle" özelliği, "Üst Bilgiye veya Alt Bilgiye Uygula" seçeneği kapalıyken çalışır ve onay görselini alt bilgiye yerleştirir.
  3. Damgalı çalışma defteri arşivlenmiştir. SharePoint.
Sadece özet sayfasının markalaştırılması
  1. Çok sayfalı bir çalışma kitabı, ham veri sekmelerinin yanı sıra bir özet sayfası da içerir.
  2. Hedef Çalışma Sayfaları Özet olarak ayarlandığı için ham veri sekmeleri markasız kalır.
  3. Markalı özet sayfası dışa aktarılır. PDF Dağıtım için.

Pratik İpuçları

Header and footer need separate runs
Apply to Header or Footer only picks one location per execution. Add a second node for the other placement.
Image and workbook inputs are independent
Image Input Method does not have to match Excel File Input Method. A logo can come from a public URL while the workbook comes from binary data.
Target Worksheets is comma-separated
List multiple sheet names like Sheet1,Summary to brand several sheets at once, or leave it blank for the whole workbook.
Margins are in centimeters, not inches
The 1.9 default matches Excel's standard margin in centimeters. Adjust with that unit in mind when nudging image placement.
Output File Name needs the .xlsx extension
Omitting it can leave downstream nodes unable to detect the format when writing or emailing the file.
Use a transparent PNG for a cleaner look
A transparent-background logo blends into the page better than a solid rectangle, especially over shaded header rows.

Kopya Kağıdı

AlanDeğer
OperationAdd Image Header/Footer
Excel File Input MethodFrom Previous Node (Binary Data)
Binary Data Property Namedata
Image Input MethodFrom Previous Node (Binary Data)
Image Binary Data Property Nameimage
Apply to Header or Footeron (header)
Image PositionCenter
Target WorksheetsSheet1 (blank for all)
Top / Bottom / Left / Right Margin1.9 cm each
Output File Nameexcel_with_image_header_footer.xlsx
CredentialsPDF4me API credential

Sıkça Sorulan Sorular

Does the toggle add the image to the header or the footer?+
Apply to Header or Footer is a single toggle that switches placement between the two. Switched on, the image goes into the header; switched off, it goes into the footer. The response echoes the placement back as isHeader true or false.
What happens if Target Worksheets is left empty?+
The image is applied to every worksheet in the workbook. Entering one or more comma-separated sheet names restricts the image to those sheets only, and the response lists them back in worksheetNames.
Can I place a logo in the header and a different image in the footer?+
Yes, but not in one execution. Run the Add Image Header/Footer operation twice in the same workflow, once with Apply to Header or Footer switched on for the header image and once switched off for the footer image.
What units are the margin fields in?+
Top Margin, Bottom Margin, Left Margin, and Right Margin are all in centimeters and default to 1.9, matching Excel's standard page margin. Increase a margin to push the image further from the page edge.
Which image formats does Image Input Method accept?+
Common raster formats such as PNG, JPG, JPEG, and GIF are supported, supplied through Binary Data, a Base64 String, or a public URL, the same input pattern used throughout n8n's integrations for binary data.

İlgili Eylemler

Diğer Platformlarda Aynı Görev

Yardım Alın