# Archive Salesforce lead references in OneDrive

Save a JSON file for each new Salesforce lead in the selected folder. It records the lead ID, company, status and creation time.

[Use template](https://dashboard.fasthook.io/workflow/new?templateKey=salesforce-new-leads-to-onedrive&templateName=Archive+Salesforce+lead+references+in+OneDrive)

**Required accounts**

- Salesforce
- Microsoft OneDrive

## Workflow steps

### 1. Trigger · New Lead

**Salesforce**. Check for newly created Salesforce leads.

### 2. Action · Archive the new lead reference

**Microsoft OneDrive**. Create or replace a small text file in OneDrive.

## Set up your workflow

1. **Copy the template** Open the template in FastHook to create an editable Workflow Draft.
2. **Connect your accounts** Connect your accounts for Salesforce, Microsoft OneDrive.
3. **Review the Workflow** Review the Steps, field mappings, routes, and provider settings.
4. **Activate** Activate the Workflow when the Draft is ready, then verify a test run.

## Questions about this template

### Does the template copy someone else's credentials?

No. FastHook creates a disconnected Draft. Connect your own Salesforce, Microsoft OneDrive accounts before activation.

### Can I change the Steps and mappings?

Yes. The copied Workflow is an editable Draft. Review every Step, input, mapping, and route before you activate it.

### What is copied into my workspace?

FastHook recreates the Trigger configuration, Action Steps, routes, and mappings with new IDs. Provider accounts, credentials, and secrets are never copied.

### When does the Workflow start running?

Only after you connect the required accounts, finish the configuration, and explicitly activate the Draft.

## Related integrations

- [Salesforce integrations](https://www.fasthook.io/apps/salesforce/integrations)
- [Microsoft OneDrive integrations](https://www.fasthook.io/apps/microsoft-onedrive/integrations)
