> For the complete documentation index, see [llms.txt](https://docs.gpmautomate.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gpmautomate.com/huong-dan-cac-action/cookie/export-cookie.md).

# Export cookie

Export cookie là hành động trích xuất toàn bộ dữ liệu cookie hiện tại của trang web đang mở để lưu trữ, sao lưu hoặc chuyển sang sử dụng cho các hệ thống, thiết bị khác.

🎥 Xem thêm video hướng dẫn: [Tại đây](https://youtu.be/OLHoUtANkXw).

#### Tham số cấu hình:

* Cookie file: Đường dẫn chỉ định nơi sẽ tạo và ghi tệp dữ liệu sau khi xuất (Ví dụ: `D:\fb_cookie.json`). Dữ liệu xuất ra sẽ tự động được đóng gói dưới định dạng JSON chuẩn.

#### Lưu ý vận hành quan trọng:

* Cần Go to URL trước: Bạn cũng phải điều hướng trình duyệt đến trang web cần lấy dữ liệu trước, chờ trang web tải xong hoàn toàn rồi mới gọi hành động Export cookie để thu về được đầy đủ các session đăng nhập hiện tại.

<figure><img src="https://275605936-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN9cKpvJdcLU6FS8VMSTs%2Fuploads%2Fgit-blob-c9012f5315767695f2b7303151f4338061da8293%2Fimage%20(214).png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://275605936-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN9cKpvJdcLU6FS8VMSTs%2Fuploads%2Fgit-blob-55639e53ef61c067a18ec62060d30ac9a9ec4001%2Fimage%20(218).png?alt=media" alt=""><figcaption></figcaption></figure>


---

# 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.gpmautomate.com/huong-dan-cac-action/cookie/export-cookie.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.
