How do I pass data to an artifact?

Not yet, I will have a little play with it today to see how complicated this is.