# Flows

**URL:** <https://connective.celigo.com/t/flows/3025>\
**Category:** Integrator.io\
**Tags:** acumatica, export, integration-app, salesforce\
**Created:** [July 12, 2023, 8:03am UTC](https://connective.celigo.com/t/flows/3025 "2023-07-12T08:03:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![shailareddy](https://avatars.discourse-cdn.com/v4/letter/s/97f17d/32.png) [@shailareddy](https://connective.celigo.com/u/shailareddy)\
**Post date:** [July 12, 2023, 8:03am UTC](https://connective.celigo.com/t/flows/3025/1 "2023-07-12T08:03:27Z")

</div>

Whenever the accounts are exported from Salesforce to Acumatica. If there is an existing record, How can we update them?

---

<div class="post-metadata">

**Author:** ![tylerlamparter](https://sea1.discourse-cdn.com/flex001/user_avatar/connective.celigo.com/tylerlamparter/32/9204_2.png) [@tylerlamparter](https://connective.celigo.com/u/tylerlamparter)\
**Post date:** [July 12, 2023, 9:15am UTC](https://connective.celigo.com/t/flows/3025/2 "2023-07-12T09:15:03Z")

</div>

@shailareddy Moving this post to Troubleshoot custom flows section as your query is not related to Celigo University.

Just wanted to understand if you are trying to do this using the Salesforce - Acumatica template or using a custom template. Also, what exactly is it you are looking to do? Do you want to overwrite the existing record with the data from Salesforce or ignore the data from Salesforce and keep the existing record as is.

---

<div class="post-metadata">

**Author:** ![tylerlamparter](https://sea1.discourse-cdn.com/flex001/user_avatar/connective.celigo.com/tylerlamparter/32/9204_2.png) [@tylerlamparter](https://connective.celigo.com/u/tylerlamparter)\
**Post date:** [July 12, 2023, 9:18am UTC](https://connective.celigo.com/t/flows/3025/3 "2023-07-12T09:18:57Z")

</div>

I am building a custom flow, when there is an existing record in Acumatica. If we want to update that from salesforce how can we do that?

---

<div class="post-metadata">

**Author:** ![tylerlamparter](https://sea1.discourse-cdn.com/flex001/user_avatar/connective.celigo.com/tylerlamparter/32/9204_2.png) [@tylerlamparter](https://connective.celigo.com/u/tylerlamparter)\
**Post date:** [July 13, 2023, 3:57pm UTC](https://connective.celigo.com/t/flows/3025/4 "2023-07-13T15:57:28Z")

</div>

Hi Shaila - you need to set up your flow as a Delta that can identify records as either update or create, use the {{lastExportDateTime}} parameter in the relative URI and set the data fields to use (usually an ID field). Hope that helps!

 ![5301043caa20740200000001-1ca76a817b69480db2393269f5faa125.png](https://us1.discourse-cdn.com/flex001/uploads/celigo/original/2X/1/1351753642c9b7b858c46e3293b5cfa615ab8a99.png)
