# n8n-nodes-papavault

This is an n8n community node for PapaVault. It allows you to load PapaVault credentials and make them available as properties for the next nodes in your n8n workflow.

## Installation

Follow the [installation guide](https://docs.n8n.io/integrations/community-nodes/installation/) in the n8n community nodes documentation.

## Features

- Load PapaVault credentials directly into your n8n workflows
- Support for different environments (dev, staging, prod, etc.)
- Automatic JSON parsing of credential files
- Secure token-based authentication

## Node Properties

### Credentials
- **API Key**: Your PapaVault API key

### Node Settings
- **Environment**: The PapaVault environment to use (e.g., dev, staging, prod)
- **Filename**: The name of the file to load from PapaVault
- **Project ID**: Your PapaVault project ID

## Usage Example

1. Add the PapaVault node to your workflow
2. Configure your PapaVault credentials with your API key
3. Set the following properties:
   - Environment: `dev`
   - Filename: `.env`
   - Project ID: `proj_123`
4. The node will load the specified file and make its contents available as properties for the next nodes in your workflow

### Example Output
If your PapaVault file contains:
```json
{
  "DATABASE_URL": "postgres://user:pass@localhost:5432/db",
  "API_KEY": "secret123"
}
```

The node will make these values available as properties in your workflow:
```json
{
  "DATABASE_URL": "postgres://user:pass@localhost:5432/db",
  "API_KEY": "secret123"
}
```

## Support

For support, please:
1. Check the [PapaVault documentation](https://docs.papavault.com)
2. Visit the [n8n community forum](https://community.n8n.io)
3. Open an issue in the [GitHub repository](https://github.com/papavault/n8n-nodes-papavault/issues)

## License

[MIT](LICENSE.md) 