Is this possible, or will manual intervention still be needed after setup?
-
wrote on Nov 20, 2023, 2:02 PM last edited by
I play this game on my iPad, and take screenshots. In the past I had it setup to automatically backup to my Google Photos, and from there I would move the screenshots to my Cloudinary account. From there I would then make a post in a Wordpress app, with its custom domain, and then insert the uploaded screenshots using the Cloudinary link. I did it for only a few weeks because it became tedious.
So my question is, using N8N, is it actually, truly, possible to setup a workflow like this: after the screenshot is uploaded, to then take it or a link of it and create a new daily WP post? I think I am fine NOT adding a caption or anything… just the whole upload->get link->make new post->insert X links-> publish is tedious. If that part could be automated, then later adding text, tags, etc., would be fine.
Thank you!
-
I play this game on my iPad, and take screenshots. In the past I had it setup to automatically backup to my Google Photos, and from there I would move the screenshots to my Cloudinary account. From there I would then make a post in a Wordpress app, with its custom domain, and then insert the uploaded screenshots using the Cloudinary link. I did it for only a few weeks because it became tedious.
So my question is, using N8N, is it actually, truly, possible to setup a workflow like this: after the screenshot is uploaded, to then take it or a link of it and create a new daily WP post? I think I am fine NOT adding a caption or anything… just the whole upload->get link->make new post->insert X links-> publish is tedious. If that part could be automated, then later adding text, tags, etc., would be fine.
Thank you!
translatorwrote on Nov 20, 2023, 6:26 PM last edited by luckow Nov 20, 2023, 6:29 PM@scooke imho yes. Quick idea is:
- install nextcloud-client on your ipad.
- Upload new screenshots to nc.
- install the webhook app in nc.
- build a flow with "if some pic is uploaded, trigger a webhook".
- install n8n. Start with an incoming webhook.
- if the webhook is triggered, download the uploaded pic into n8n (via nextcloud integration)
- upload the downloaded picture via WordPress integration
I built it quickly and identified 2 initial issues:
- the webhook app for nextcloud is not for the current version
server version 25 or lower is required
. Therefore I have to trigger the webhook manually. - the downloaded screenshot is in n8n as data. At the moment I have no idea how to upload it as data into a post in WordPress. So I added a conversion flow from data -> json and uploaded it as base64.
But in general, the flow seems to be possible.
If you want to see it in action:
- Upload a file called
pic.png
into https://nc-cloudron.luckow.org/s/QocarWoNBJ7FJcQ - fire up the webhook
https://n8n.luckow.org/webhook/nc-cloudron
- Take a look at
https://wp-cloudron.luckow.org/
(it's a post called nc-wp)
I will delete the setup tomorrow.
-
wrote on Nov 20, 2023, 6:58 PM last edited by
-
wrote on Nov 20, 2023, 7:05 PM last edited by robi Nov 20, 2023, 7:07 PM
Might be good to look into XBackBone with ShareX for the screenshots which may also have WP integrations.
-
Why not use native system functionality on ios? https://gregmorris.co.uk/blog/publishing-to-wordpress/