# NOVA File Sharing Skill

### Retrieve and Decrypt File

**ALWAYS use this script to retrieve and decrypt files:**

```bash
~/openclaw/skills/nova-file-sharing/retrieve_and_decrypt.sh GROUP_ID IPFS_CID
```

Example:

```bash
~/openclaw/skills/nova-file-sharing/retrieve_and_decrypt.sh demo_campaign QmZBtuiHonPxguYFysU54N5CPHsReDDEfqYCX5ekih8Vby
```

**DO NOT** try to run curl commands or Python scripts separately. The shell script handles everything: authentication, retrieval, and decryption.

## How to Check Authorization

```bash
~/openclaw/skills/nova-file-sharing/check_auth.sh GROUP_ID
```

## Required User Information

To retrieve files, user must provide:

1. **Group ID** - NOVA group name (e.g., `demo_campaign`)
2. **IPFS CID** - File hash starting with `Qm` or `bafy`

## Workflow for Email Campaigns

Users upload two files to their NOVA group:

1. `contacts.csv` - Contact list with email, full\_name, and optional fields
2. `payment_key.txt` - Their NEAR Email payment key

Then grant access to `nova-bizdev.nova-sdk.near` and provide:

* Group ID
* IPFS CID for both files
* Campaign instructions

## User Instructions

1. **Create a NOVA account** at <https://nova-sdk.com>
2. **Create a group** for your campaign data
3. **Upload your files** (contacts.csv, payment\_key.txt)
4. **Grant access:** `nova group add-member GROUP_ID nova-bizdev.nova-sdk.near`
5. **Provide IPFS CID** to the agent


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://civictech-ou.gitbook.io/nova-docs/nova-skill/skill.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
