# 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="https://3594793218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoKO2daI6MQ1KQOLltE3m%2Fuploads%2FYKJaHtWKeelQHIO0KzEl%2Fimage.png?alt=media&#x26;token=5c014237-13b5-4a84-a130-67fbcef975d7" alt=""><figcaption></figcaption></figure>

Then in zapier choose the action to retrieve the entity id by the unique field.&#x20;

<figure><img src="https://3594793218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoKO2daI6MQ1KQOLltE3m%2Fuploads%2FzPDimxgPbFQzVOWquqD8%2Fimage.png?alt=media&#x26;token=742a942d-dc26-4631-b532-232313ee8925" alt=""><figcaption></figcaption></figure>

Go on to authenticate by adding an account.

<figure><img src="https://3594793218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoKO2daI6MQ1KQOLltE3m%2Fuploads%2FH5OO8cscEZMVUucEt0DH%2Fimage.png?alt=media&#x26;token=808d793b-ff1f-4964-9ba2-58275d9d470b" 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="https://3594793218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoKO2daI6MQ1KQOLltE3m%2Fuploads%2F0vIFwOLiagBvHKR1xbYN%2Fimage.png?alt=media&#x26;token=b3dafe03-e2c0-4381-a37f-ddfe9756be27" alt=""><figcaption></figcaption></figure>

Then you can use this data for the next action.

#### Edit Entity

Choose Edit Entity from the actions&#x20;

<figure><img src="https://3594793218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoKO2daI6MQ1KQOLltE3m%2Fuploads%2F0KbwH0TIJ4ihxhXKUJeV%2Fimage.png?alt=media&#x26;token=fe1d5a82-861b-49df-b8da-647577375133" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://3594793218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoKO2daI6MQ1KQOLltE3m%2Fuploads%2F0WbzSX6DbRJoYyyTcaEs%2Fimage.png?alt=media&#x26;token=4993f995-0b31-4991-8718-632a8e01c38a" 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.
