> For the complete documentation index, see [llms.txt](https://docs.helpyousponsor.com/guides/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.helpyousponsor.com/guides/advanced-features/integrations/zapier/actions/edit-entity.md).

# Edit Entity

When you want to edit records of an entity, you'll have to choose `Edit Entity`

> In order to edit an entity, you'll require the id of the entiy, now incase you know it or its passed through from your trigger or action then you can skip this step. So you'll have to go to Entity form fields, choose a field that your sure has unique values like `Student ID` and then edit the field and attach the `unique` attribute to it.<br>

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

Then in zapier choose the action to retrieve the entity id by the unique field.

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

Go on to authenticate by adding an account.

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

You will be presented with two fields, `Search Value` should be value from the unique form field that you defined above so lets say if you have `Student Id` as the unique field then you can pass values that are for Student ID. Then for `Program Id` you will be provided with a dropdown so that you are able to choose which program this search should be made. The program selected should have the form attached to it, this form having the unqiue field.

Then click `Continue` and run a test and you'll receive the response containing the entity object

<br>

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

Then you can use this data for the next action.

#### Edit Entity

Choose Edit Entity from the actions

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

Then authenticate your account and move on to the `Action`

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

You'll be presented with `Entity Id` which can be got from the data from the previous action and then `Program Id` got from the data from the previous action.

Click `Refresh fields` so that zapier can generate the form fields, then you can fill in the fields that you want to edit and then you click `Continue`

`Test` the request and then you can `publish`.

You can check `HelpYouSponsor` so that you can see the changes.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.helpyousponsor.com/guides/advanced-features/integrations/zapier/actions/edit-entity.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
