with Tumblr and Bash?
Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.
The Tumblr API on Pipedream allows you to automate interactions with your Tumblr account, like posting content, managing posts, and interacting with followers. By leveraging this API, you can craft workflows that streamline your social media strategies, analyze engagement, and connect your Tumblr activities with other tools and platforms. Whether you're looking to auto-post content across different networks, analyze post metrics, or curate content based on specific criteria, the Tumblr API paired with Pipedream’s serverless execution model paves the way for powerful automations.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
tumblr: {
type: "app",
app: "tumblr",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.tumblr.com/v2/blog/good.tumblr.com/info`,
params: {
api_key: `${this.tumblr.$auth.api_key}`,
},
})
},
})
# $PIPEDREAM_STEPS file contains data from previous steps
cat $PIPEDREAM_STEPS | jq .trigger.context.id
# Write data to $PIPEDREAM_EXPORTS to return it from the step
# Exports must be written as key=value
echo foo=bar >> $PIPEDREAM_EXPORTS