Lewati ke konten utama

Isi Excel di dalam Make

Isi Excel adalah sebuah PDF4me modul untuk Make yang mengisi sebuah Excel buku kerja yang berisi tempat penampung Smart Marker dengan tampilan langsung JSON Mengolah data secara otomatis, memperluas array baris demi baris dan menghitung ulang rumus dalam satu operasi. Gunakan untuk menghasilkan templat faktur yang terisi, laporan dinamis, atau laporan berbasis data. Excel keluaran dari apa pun JSON sumber dalam skenario Anda tanpa entri data manual.

Fungsi modul ini

PDF4me Excel, Isi menerima sebuah Excel templat dengan placeholder Smart Marker dan sebuah JSON muatan data, dan mengembalikan data yang terisi penuh. Excel buku kerja di dalam Anda Make skenario. Array di dalam JSON Rumus akan diperluas secara otomatis menjadi baris, dihitung ulang setelah penyisipan, dan Anda dapat menargetkan lembar kerja tertentu berdasarkan indeks. Hasilnya adalah format yang siap didistribusikan. Excel Laporan ini dihasilkan sepenuhnya dari data dalam skenario Anda, tanpa entri manual.

Postingan Blog Terkait
Belum ada postingan blog untuk fitur ini — akan segera hadir.
Sementara itu, jelajahi blog PDF4me untuk menemukan tutorial dan alur kerja di berbagai platform.
Kunjungi blog ini

Memverifikasi Identitas Anda API Meminta

Setiap PDF4me modul di Make memerlukan validitas KoneksiBuat atau pilih salah satu yang sesuai dengan kebutuhan Anda. PDF4me API kunci agar skenario dapat diautentikasi Excel permintaan populasi secara aman.

Fakta Penting yang Tidak Boleh Anda Lewatkan

Nama Smart Marker harus sama. JSON kunci persis
Nama-nama kolom di Anda JSON Muatan harus sesuai dengan tempat penampung Smart Marker di Excel Templat persis seperti aslinya, termasuk huruf besar dan kecil. Sebuah penanda. &=Item.NamaItem membutuhkan JSON array bernama Barang-barang berisi objek dengan sebuah Nama Barang properti. Ketidakcocokan menyebabkan placeholder tidak tergantikan dalam output. Selalu verifikasi nama kunci sebelum menjalankan skenario.
Array diperluas baris demi baris ke bawah secara otomatis.
Ketika JSON Nilai yang terikat pada Smart Marker adalah sebuah array, modul ini menyisipkan satu baris per elemen di bawah sel penanda, menggeser baris yang sudah ada ke bawah. Tidak perlu mengatur ukuran template terlebih dahulu untuk jumlah baris yang diharapkan. Hal ini membuat modul Populate cocok untuk faktur, daftar pesanan, dan laporan apa pun di mana jumlah baris data bervariasi saat dijalankan.
Tetapkan Ketat JSON String untuk "Tidak" pada rumus numerik
Dengan Ketat JSON String pada Ya (default), nilai numerik dibungkus dalam tanda kutip pada JSON seperti "55" dimasukkan sebagai teks di ExcelJika rumus SUM atau rumus lain di hilir perlu memperlakukannya sebagai angka, atur Strict. JSON String ke Tidak, jadi modul tersebut mengubah string numerik yang dikutip menjadi numerik. Excel nilai sel sebelum populasi.
Buat modul PDF4me Excel Populate yang menampilkan kolom Koneksi, File diatur ke Dropbox - Unduh File, dan textarea Data JSON dengan array Item yang berisi kolom ItemName, Qty, dan UnitPrice.

Peta Koneksi, mengatur Mengajukan ke Dropbox atau Peta, dan lewati JSON muatan yang kuncinya cocok dengan nama bidang Smart Marker di Anda Excel templat.

Parameter

Diperlukan: Koneksi, File (sumber), dan JSON Data harus diisi. Semua kolom lainnya bersifat opsional. Untuk referensi sintaks Smart Marker, lihat Dokumentasi Aspose Cells WorkbookDesignerUntuk kode budaya, lihat Referensi nama budaya Microsoft BCP 47.

ParameterDiperlukanApa fungsinya?Contoh
ConnectionRequiredPDF4me Excel API connection. Click Add and paste your API key if connecting for the first time.My PDF4me Excel connection
FileRequiredFile source mode. Map supplies the Excel template binary from a prior module output. Dropbox - Download a File pulls directly from Dropbox, reducing the number of modules needed.Map
File NameOptionalExcel template filename including extension (.xlsx). Map from the prior module file name output or enter a static value. Used to identify the template and name the output file.invoice-template.xlsx
DocumentRequiredBinary content of the Excel template workbook. Map from a Google Drive download, SharePoint file, email attachment, or HTTP response. Must be the raw file buffer.1. Data
JSON DataRequiredJSON string whose keys match the Smart Marker placeholders in the Excel template. Arrays expand row by row. Scalar values fill single cells. Pass as a mapped string from a prior module or a static JSON literal.{"Items":[{"ItemName":"A123","Qty":"55","UnitPrice":"3.05"}]}
Strict JSON StringsNoYes (default): inserts quoted string values as text in Excel. No: coerces quoted numeric strings to numeric cell values so formulas can operate on them. Empty behaves like Yes.Yes
Culture & Language SettingsNoBCP 47 locale code controlling date and number formatting in the output. Defaults to en-US (MM/DD/YYYY, period decimal). Change to match your data source locale: de-DE, fr-FR, and so on.en-US
Calculate FormulasNoYes (default): recalculates all workbook formulas after JSON data is inserted. No: skips recalculation. Enable when the template contains SUM, VLOOKUP, or other formulas that depend on the populated values.Yes
Worksheet IndexesNoComma-separated 1-based indexes of worksheets to populate. Enter 1 for the first sheet only, 1,3 for first and third. Leave empty to populate all worksheets in the workbook.1
Quote Prefix To StyleNoYes: converts Excel quote-prefix formatting to visible cell style. No: removes it. Empty (default): preserves existing quote-prefix behavior without conversion. Use Empty unless your template specifically requires style conversion.Empty
Atur PDF4me Excel untuk mengisi pengaturan lanjutan yang menunjukkan String JSON Ketat Ya, Pengaturan Budaya dan Bahasa en-US, Hitung Rumus Ya, Indeks Lembar Kerja 1, dan Awalan Kutipan ke Gaya Kosong.

Pengaturan opsional: Ketat JSON Tali, Latar Belakang Budaya & Bahasa, Rumus Perhitungan, Indeks Lembar Kerja, Dan Awalan Kutipan untuk Gaya. Mengatur Hitung Rumus: Ya Jadi, rumus-rumus dalam buku kerja mencerminkan data yang telah diisi.

Keluaran

BidangJenisIsi di dalamnya
documentBase64 StringThe fully populated Excel workbook encoded as Base64. Decode it with a Make Tools module, then pass the binary to a Google Drive upload, email attachment, Dropbox create-file, or HTTP POST to distribute the report.
FileNameStringOutput filename for the populated workbook, derived from the input template name. Use this as the target filename when saving to cloud storage to preserve the original naming convention.
SuccessBooleanTrue if the template was populated without errors. Add a Make filter on this field before routing the output to avoid processing incomplete results from failed runs.

Contoh singkat (coba dalam 3 menit)

Dua kombinasi siap pakai sesuai dengan tangkapan layar di atas. Unduh setiap pasangan, petakan XLSX ke Dokumen (atau gunakan) Dropbox mode file), tempelkan JSON ke dalam JSON Data, dan jalankan skenario tersebut sekali.

Paket A: Barang sederhana (sesuai dengan tangkapan layar parameter)

Kegunaan template.xlsx dengan Indeks Lembar Kerja = 2 (Sheet2 memiliki penanda Item sederhana yang digunakan dalam tangkapan layar parameter). Pasangkan dengan Item datar yang sesuai. JSON.

Paket B: faktur lengkap dengan Excel Meja

Menggunakan lembar Faktur dari template.xlsx dengan bersarang &=RootData.Item.* penanda, rumus referensi terstruktur dalam sebuah Faktur Sederhana Tabel, subtotal + pajak + total perhitungan.

Paket C: buku kerja multi-lembar

Templat tiga lembar yang menunjukkan berbagai sumber data per lembar. Urutan lembar dalam file adalah Barang, Karyawan, Produk.

Cara Mengisi Sebuah Excel Templat di Make

  1. Buka milikmu Excel Gunakan templat dan tempatkan placeholder Smart Marker di sel tempat data seharusnya muncul: gunakan &=ObjectName.FieldName untuk nilai skalar dan &=ArrayName.FieldName untuk array yang diperluas baris demi baris.
  2. Menambahkan PDF4me Excel untuk Anda Make skenario dan pilih Excel - Isi.
  3. Pilih atau buat Koneksi dengan milikmu PDF4me API kunci.
  4. Mengatur Mengajukan ke Peta dan terhubung Nama File Dan Dokumen dari sebuah Google Drive, SharePoint, atau Dropbox unduh modul. Atau atur File ke Dropbox - Unduh File untuk mengambil templat secara langsung.
  5. Peta JSON Data dari modul sebelumnya yang menghasilkan sebuah JSON string, atau tempel statis JSON literal. Pastikan setiap kunci cocok dengan nama bidang Smart Marker yang sesuai di templat.
  6. Mengatur Rumus Perhitungan ke Ya Jika templat berisi rumus yang bergantung pada nilai yang telah diisi, masukkan... Indeks Lembar Kerja untuk menargetkan hanya lembar kerja tertentu, atau membiarkan kosong untuk semuanya.
  7. Klik Menyimpan lalu jalankan. Dekode dokumen output dan mengarahkannya ke unggahan penyimpanan cloud, email, atau API sesuai kebutuhan.

Kapan Saya Harus Menggunakan Populate? Excel di dalam Make?

Kapan Saya Harus Menggunakan Fitur Isi Data Excel di Make?Common Make automation patterns using the Populate Excel module.
Buat faktur secara otomatis dari data pesanan.
  1. Webhook menerima payload pesanan baru yang berisi detail pelanggan dan item baris sebagai JSON susunan.
  2. Skenario ini mengunduh templat faktur bermerek dari Google Drive.
  3. Isi Excel memetakan urutan JSON ke Smart Marker di templat, memperluas satu baris per item baris dan menghitung ulang rumus total.
  4. Faktur yang telah diisi dikirim melalui email ke pelanggan dan diunggah ke folder klien di SharePoint.
Mengisi laporan KPI mingguan dari basis data. API
  1. Pemicu terjadwal mingguan aktif dan memanggil REST API untuk mengambil metrik KPI terbaru sebagai JSON.
  2. Skenario ini mengambil templat laporan KPI dari Dropbox menggunakan bawaan Dropbox mode file.
  3. Isi Excel Memasukkan nilai metrik ke dalam sel templat dan menghitung ulang rumus tren.
  4. Laporan yang telah selesai diunggah ke saluran Slack dan disimpan ke folder arsip berdasarkan tanggal di Google Drive.
Isi data per klien Excel ringkasan dari CRM ekspor
  1. A CRM Webhook akan aktif ketika sebuah kesepakatan ditandai sebagai "ditutup dan dimenangkan", sehingga memberikan data klien dan kesepakatan sebagai berikut: JSON.
  2. Skenario tersebut mengunduh templat ringkasan kesepakatan dari SharePoint Hanya menargetkan Lembar Kerja Indeks 1.
  3. Isi Excel Mengisi nama klien, nilai transaksi, dan item lini produk ke dalam templat.
  4. Ringkasan yang telah diisi diunggah ke folder klien dan tugas dibuat di alat manajemen proyek untuk tim akun.

Pertanyaan yang Sering Diajukan

How do I auto populate an Excel template with data in Make?+
Use the PDF4me Excel - Populate module. Create an Excel template with Smart Marker placeholders such as &=Items.ItemName, then pass a matching JSON string in the JSON Data field. The module replaces every placeholder with the corresponding value from the JSON, expands arrays into rows, and returns the filled workbook ready for distribution.
What are Smart Markers and how do I write them in Excel?+
Smart Markers are placeholder strings placed in Excel cells that the Populate module replaces with live JSON data at run time. Write them as &=ObjectName.FieldName for scalar values or &=ArrayName.FieldName for arrays. For example, placing &=Items.ItemName in a cell tells the module to insert the ItemName property from each element of the Items JSON array, one per row.
What does Calculate Formulas do and when should I enable it?+
Calculate Formulas: Yes (the default) triggers a full workbook formula recalculation after the JSON data is inserted. Enable it whenever the template contains SUM, VLOOKUP, IF, or other formulas that reference the populated cells, so the formula results reflect the new data. Set it to No only if formula recalculation is unnecessary or handled downstream.
How do I populate only specific worksheets and not the whole workbook?+
Enter the 1-based worksheet indexes as a comma-separated list in the Worksheet Indexes field: for example 1 for the first sheet only, or 1,3 for the first and third. Leave the field empty to populate all worksheets. This is useful when the template contains data sheets with Smart Markers alongside static reference or chart sheets you do not want the module to modify.
What is the difference between Strict JSON Strings Yes and No?+
With Strict JSON Strings set to Yes (the default), string values in the JSON such as '55' are inserted into Excel cells as text. With No, quoted numeric strings are coerced to numeric Excel values. Choose No when downstream formulas such as SUM need to treat those values as numbers rather than text strings.
What does Quote Prefix To Style do?+
Quote Prefix To Style controls whether Excel quote-prefix cell formatting (a hidden attribute that forces text interpretation of cell content) is converted to a visible cell style in the output workbook. Leave it at Empty (the default) for standard behavior. Set Yes only if your template uses quote-prefix styling and you need that to appear as a visible format in the populated output.

Modul Terkait

Dapatkan Bantuan