Push asset links to Algolia from Contenful via webhook

I wanna ask about how to send asset links to Aloglia. I’ve setup a webhook and successfully push data to Algolia index. The text data is ok, but the assets contain just id, without a direct link.

Is it possible to send asset links directly via webhook or asset links should be aggregated/fetched on Algolia side in some way?

1 Like

If you’re using the default payload and it is just sending the ID, you might try customizing the payload in your webhook configuration.

I’m having the same issue. This is my custom payload:

{
  "image": "{ /payload/fields/thumbnailImage }",
}

But I’m not getting the fields of the Asset, just the sys.

Did anyone ever find a solution to this - I am having the same problem

1 Like