Using a csv file with Lat Lon values, query for the US State that the point falls within and return the State name. Using this value query from your own State feature service for the record. Feature service attribution table must contain a counter field, get the current value and increment by one, then sync the result back to the feature service.