You may wish to give your haystack a custom name. This is especially useful for debugging, as you could check your database and see what haystacks are currently being processed. To give the haystack a name, use the
withNamemethod when building the haystack.
$haystack = Haystack::build()
->withName('Process API Data')