sending HTML content to IFTTT every new post

i'm currently using CF Pages with the GitHub CI to host a Hugo website. my end goal is to be able to automatically generate social media posts for new blog posts. (using just IFTTT i can connect the RSS to LI for example, but that approach is very limited and not easy to create filters. (https://ifttt.com/applets/G7jpfrvD-rss-feed-to-linkedin)) it appears that CF tends to block the IFTTT webhook bots, so it seems like the better approach is to start from the CF Workers/Pages side (rather than using another tool to scrape my own site). as a first test, could someone advise a way that i could simply create a worker that will return the full HTML of the post/page when pinged by a webhook request? (with this set up, i could then get creative with how to format the content, filter out specific posts, etc. ) thanks!
1 Reply
rawwerks
rawwerks12mo ago
found a way around needing CF Workers (https://raw.works/automating-social-media-posts-for-hugo-sites/) - but i would still be very interested in learning how to use workers, if anyone has some suggestions for a simple worker webhook.
Want results from more Discord servers?
Add your server