How to derive a value inside an action, so the changeset is enriched?

Hello,

Say I have a cut down version of my create action.
I would like to populate an attribute (:geom) by using accepted values (:latitude, :longitude)


attributes do
    attribute :latitude, :float, allow_nil?: false
    attribute :longitude, :float, allow_nil?: false
    attribute :geom, :geometry, allow_nil?: false
end

actions do
    defaults [:read]

    create :create do
      accept [:latitude, :longitude]

      # I should be able to build a geometry 'point' field like so:
      # "POINT(#{:longitude} #{:latitude})"

      # but how to apply :geom to the changeset?

    end
end

Can someone please describe the “Ash” way of doing this?

I have a few use case like this, even triggering an oban job to go off and get data from an external to enrich related fields

Thanks.