Since this is such a common issue for ACF users, it raises the question – why is there no way to associate field keys with a programmatically generated post? There is nothing special about manually saving a post that means it should be the only way for ACF to generate these meta values.