Skip to content

ArticleFlow ​

ArticleFlow turns a local folder hierarchy into eGain folders and articles. Local folders become eGain folders, while .htm and .html files become articles in the corresponding location.

Prepare the source folder ​

Use a single product folder as the import root.

text
Sample Product/
└── [001]Product Information/
    ├── Product Overview.htm
    └── [004]Manuals/
        └── Startup Guide.htm
  • Folder names define the eGain taxonomy.
  • The filename without .htm or .html becomes the article title.
  • Unsupported files are listed under Ignored items.
  • Existing folders are reused.
  • Existing exact article titles are skipped during a rerun.

Each source folder and article must map to a unique eGain destination. ArticleFlow rejects the source before connecting to eGain if entries collide after decoding names or removing article extensions. For example, Guide.htm and Guide.html in the same folder share one article title, while A%B and A%25B share one folder name. The error names both source paths. Rename or remove one of the conflicting entries, then load the source again.

Windows-safe names

For / and : characters that Windows does not permit in names, encode them in the local path:

Intended eGain nameLocal source name
Drawings/SchematicsDrawings%2FSchematics
Project ID 50129: BOMProject ID 50129%3A BOM.htm

Prepare eGain ​

  1. Launch or reconnect the controlled browser.
  2. Open the eGain folder that should contain the imported product root.
  3. Keep that folder selected before starting ArticleFlow.
  4. Open ArticleFlow from the KnowledgeWorks hub.

The selected eGain folder is the destination parent. ArticleFlow creates the local root folder beneath it.

Load and review the source ​

  1. Select Choose folder and choose the local product root.
  2. Review the folder and article totals.
  3. Expand Folder hierarchy and inspect the planned structure.
  4. Clear folders or articles that should not be part of this run.
  5. Choose Import as the operation and Check in or Publish under Completion.

Selecting a folder selects its descendants. Individual articles can be included or excluded where the source tree allows an independent selection.

Prepare the article template ​

The first step creates an ArticleFlow template article in the destination product folder.

  1. Select Prepare template.
  2. In eGain, configure the template article's custom attributes.
  3. Save the custom attributes and return to ArticleFlow.
  4. Select Import selected.

ArticleFlow copies the prepared template for imported articles so common custom attributes do not need to be entered for every file.

Run the import ​

During the import, the source tree marks the active item and records completed or failed work.

  • Folders are ensured before their articles are created.
  • Article HTML is inserted into the eGain editor before check-in or publication.
  • Existing exact article titles are skipped.
  • A rerun can start from the same source root after an interruption.
  • Select Stop import to request cancellation at the next safe point.

If a run fails, review Logs, correct the reported condition, select the same source root and destination parent, then run again. ArticleFlow reuses completed folders and skips existing article titles.

Publish checked-in articles ​

Use the secondary publishing action when selected source articles already exist in eGain as checked-in articles. ArticleFlow finds exact titles, opens each available article, publishes it, and reports missing or unavailable entries.

Update existing content ​

Use Update content when local HTML has changed and the matching articles already exist in eGain. This is a one-way replacement, not a two-way sync or a diff viewer.

  1. Load the local product folder and select the articles to update.
  2. In eGain, select the matching product root or one of its folders.
  3. Choose Update content in Article settings. No template preparation is needed.
  4. Choose Check in or Publish for changed articles.
  5. Select Update selected, review the replacement warning, and confirm.

ArticleFlow matches the exact folder path and article title. It preserves article IDs, titles, folder placement, and custom attributes. Unchanged articles are not checked out. Missing articles and folders are reported, not created. Checked-out articles are skipped; check them in before updating.

MediaBridge links

The local HTML replaces the existing content. If eGain contains media or article links resolved by MediaBridge but the local file still contains unlinked references, run MediaBridge again after the update. Resolved links are not automatically preserved.

Select Stop update to stop at the next safe point. If eGain content changes between comparison and entering edit mode, ArticleFlow stops that article without replacing its content. Review any remaining checked-out draft before retrying.

Review the result ​

When importing, publishing, or updating finishes, a completion dialog shows the outcome and counts. Select View logs for article-level details. The footer remains a short summary, while the source tree shows completed, unchanged or existing, and failed articles. Canceled operations do not open a completion dialog.

KnowledgeWorks user documentation