Dbt views -> send to Algolia Indexes

Hi All,

I am sending some data to redshift, which is then sourced to dbt to create views/transform the data. I want to send the updated records (based on date) to algolia index

I am trying to do this since our entire transformation layer is handled by dbt now

I am trying to understand if I can use macros for this?

I am new to this community, so any pointers will help a lot.

Thank you.