# ZapierNLAWrapper

> **Class** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/utilities/zapier/ZapierNLAWrapper)

Wrapper for Zapier NLA.

Full docs here: https://nla.zapier.com/start/

This wrapper supports both API Key and OAuth Credential auth methods. API Key
is the fastest way to get started using this wrapper.

Call this wrapper with either `zapier_nla_api_key` or
`zapier_nla_oauth_access_token` arguments, or set the `ZAPIER_NLA_API_KEY`
environment variable. If both arguments are set, the Access Token will take
precedence.

For use-cases where LangChain + Zapier NLA is powering a user-facing application,
and LangChain needs access to the end-user's connected accounts on Zapier.com,
you'll need to use OAuth. Review the full docs above to learn how to create
your own provider and generate credentials.

## Signature

```python
ZapierNLAWrapper()
```

## Extends

- `BaseModel`

## Properties

- `zapier_nla_api_key`
- `zapier_nla_oauth_access_token`
- `zapier_nla_api_base`
- `model_config`

## Methods

- [`validate_environment()`](https://reference.langchain.com/python/langchain-community/utilities/zapier/ZapierNLAWrapper/validate_environment)
- [`alist()`](https://reference.langchain.com/python/langchain-community/utilities/zapier/ZapierNLAWrapper/alist)
- [`list()`](https://reference.langchain.com/python/langchain-community/utilities/zapier/ZapierNLAWrapper/list)
- [`run()`](https://reference.langchain.com/python/langchain-community/utilities/zapier/ZapierNLAWrapper/run)
- [`arun()`](https://reference.langchain.com/python/langchain-community/utilities/zapier/ZapierNLAWrapper/arun)
- [`preview()`](https://reference.langchain.com/python/langchain-community/utilities/zapier/ZapierNLAWrapper/preview)
- [`apreview()`](https://reference.langchain.com/python/langchain-community/utilities/zapier/ZapierNLAWrapper/apreview)
- [`run_as_str()`](https://reference.langchain.com/python/langchain-community/utilities/zapier/ZapierNLAWrapper/run_as_str)
- [`arun_as_str()`](https://reference.langchain.com/python/langchain-community/utilities/zapier/ZapierNLAWrapper/arun_as_str)
- [`preview_as_str()`](https://reference.langchain.com/python/langchain-community/utilities/zapier/ZapierNLAWrapper/preview_as_str)
- [`apreview_as_str()`](https://reference.langchain.com/python/langchain-community/utilities/zapier/ZapierNLAWrapper/apreview_as_str)
- [`list_as_str()`](https://reference.langchain.com/python/langchain-community/utilities/zapier/ZapierNLAWrapper/list_as_str)
- [`alist_as_str()`](https://reference.langchain.com/python/langchain-community/utilities/zapier/ZapierNLAWrapper/alist_as_str)

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/a6a6079511ac8a5c1293337f88096b8641562e77/libs/community/langchain_community/utilities/zapier.py#L25)