> For the complete documentation index, see [llms.txt](https://docs.coreway.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.coreway.com/coreway-table/automation/data-nodes/get-print-file.md).

# 獲取記錄打印文件

### 1. 節點功能

透過新增記錄、更新記錄或發送郵件，將獲取到的記錄數據，按照事先製作的 WORD 打印模板自動生成打印文件（如報價單、合同等），並存入至附件字段中；用戶可在附件中快速下載到此打印文件。

![image.png](https://273888574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9WI4IMScYYFwRQSZY8Zr%2Fuploads%2FfaIkCOX5jKEdZ11y41ua%2F17816865321241.png?alt=media)

> 註：文檔大小不得超過 10M。

### 2. 場景舉例

將銷售報價單自動生成打印文件，並存入至附件字段中；然後透過發送電郵節點將文件寫入附件，並發送給客戶，客戶可在郵件附件中快速下載到報價單。

### 3. 配置步驟

1. **打印對象**：流程中的節點對象
2. **Word 打印模板**
3. **文件名稱**：手動輸入文件名稱；或使用動態值，選擇流程節點記錄下某個字段作為內容值

![image.png](https://273888574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9WI4IMScYYFwRQSZY8Zr%2Fuploads%2FAsQDr4SpQPe0vteboL9N%2F17816971962649.png?alt=media)

### 4. 效果

![image.png](https://273888574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9WI4IMScYYFwRQSZY8Zr%2Fuploads%2FMudVUnaibXiWqaXpXKIP%2F17816999779993.png?alt=media)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.coreway.com/coreway-table/automation/data-nodes/get-print-file.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
