---
title: "How to automate archiving page content"
canonical: "https://support.appfire.com/space/SUPPORT/89136734/How%20to%20automate%20archiving%20page%20content"
format: markdown
---
### Summary

[How to archive pages with dynamic content](https://appfire.atlassian.net/wiki/spaces/SUPPORT/pages/89137062) describes a technique for archiving pages and viewing them later. We extend that concept here by describing how to automate the collection of the archive.

### Requirements

- [Confluence Command Line Interface (CLI)](https://appfire.atlassian.net/wiki/spaces/CSOAP)
- A job scheduler or Bamboo

### Steps

> Macro (table-plus)
> 
> | **Step** | **Discussion** |
> | --- | --- |
> | Create pages as described in [How to archive pages with dynamic content](https://appfire.atlassian.net/wiki/spaces/SUPPORT/pages/89137062) |  |
> | Construct a request string with the appropriate parameters as described in [How to link to a run page with parameters set](https://appfire.atlassian.net/wiki/spaces/SUPPORT/pages/89138571) | You will need a request parameter for each parameter you want to set explicitly.<br>You will also need the **export request** |
> | Construct a [Confluence Command Line Interface](https://appfire.atlassian.net/wiki/spaces/CSOAP/overview) action string similar to:<br>```
> --action renderRequest --space Example --title "test" --requestParameters <your request string>
> ``` | Get this working from a command line first!<br>Example taking the default parameters: **--requestParameters run_1=export** |
> | Add the CLI action to your favorite job scheduler. I recommend Bamboo and then you can use [Run CLI Actions in Bamboo](https://appfire.atlassian.net/wiki/spaces/BCLIP) 🙂 |  |