upsert activity only if there's a payload.