# Edit Donor

When you want to edit a donor, you'll have to choose it from the actions.

> In order to edit a donor, you'll first have to retrieve the id of the donor, incase you know or you'll be passing it with your trigger data then you can skip the steps below.
>
> Because email addresses of the donors are unique, you will be able to get the donor id using the email address, this assumption is that you are sending the email addresses from your trigger data.\
> Choose `Retrieve Donor Id By Email Address`&#x20;

<figure><img src="/files/a5KNND0aeXEh67NcBLIr" alt=""><figcaption></figcaption></figure>

continue to authenticate your account, Then you'll be presented with a form to attach the email address of the donor that you want to edit.<br>

<figure><img src="/files/fBTMaVzIBmqo86awGA6R" alt=""><figcaption></figcaption></figure>

Choose `Continue` and then run the test, this will return the donor id and some other information about this donor<br>

<figure><img src="/files/tbPTP2USaGDToCJVo3dv" alt=""><figcaption></figcaption></figure>

Choose `Continue` so that you can pass on this data for the next action below.

#### Edit Donor

Choose the action of  `Edit Donor` from the actions list

<figure><img src="/files/CZ42G5Y6K5nGZ0C5BXW8" alt=""><figcaption></figcaption></figure>

Connect an account through authentication and then move on to Action.

<figure><img src="/files/BTg9RQ6g6yXihn8rWNGP" alt=""><figcaption></figcaption></figure>

On the `Form Id` you'll pass the form id that will be used to generate the form fields, and then `Donor Id` will be the Id of the donor to be edited. All of this can be got from the returned data passed from the step described above.

Click `Refresh fields` to be able for zapier to generate the form fields. Then you fill in the fields that you would want to edit.\
\
Then `Continue` , `Test` and then check `HelpYouSponsor` that the data was edited and then you can `Publish`


---

# 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://docs.helpyousponsor.com/guides/advanced-features/integrations/zapier/actions/edit-donor.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.
