# Modify in pre workflow

**URL:** <https://community.ragic.com/t/modify-in-pre-workflow/19150>\
**Category:** Developers\
**Created:** [February 12, 2026, 7:50pm UTC](https://community.ragic.com/t/modify-in-pre-workflow/19150 "2026-02-12T19:50:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fredrik.carlsson.84](https://community.ragic.com/letter_avatar_proxy/v4/letter/f/ce7236/32.png) [@fredrik.carlsson.84](https://community.ragic.com/u/fredrik.carlsson.84)\
**Post date:** [February 12, 2026, 7:50pm UTC](https://community.ragic.com/t/modify-in-pre-workflow/19150/1 "2026-02-12T19:50:41Z")

</div>

Hi,

When creating a booking, we sometimes create a new address from within the booking sheet. The Address sheet opens in a new window.

When saving the address, the system redirects back to the Booking sheet immediately — before the post-workflow has completed.

I would like to:

1. Geocode the address via an external API.
2. Store latitude/longitude on the address record.
3. If the geocode confidence is low, allow the user to:

- Review suggested results
- Potentially adjust the coordinates manually

Nr 3 is an important step for making sure we are not getting faulty coordinates for our drivers

My understanding is that post-workflow runs after save and redirect, so it does not allow user interaction.

I therefore tried using **pre-workflow** , but it seems entry.setFieldValue() (or entry.set) does not work there.

Questions:

- Is it possible to modify field values in pre-workflow before saving?
- Is there a recommended pattern for validating via external API and populating suggestions before allowing save?
- Would throwing an error when confidence is low be the only supported approach?

Ideally, I would like to:

- Call the external API
- Populate suggested coordinates
- Let the user review them
- Block save only if confidence is too low and no manual override is made

Any guidance on best practice would be appreciated.

Thanks.
