Skip to content
sprkly
Start free

Shopify orders a few days after each post

A few days after each post you get a Telegram message with the Shopify orders that came in through its link. Each result is saved, and every Monday you get the best posts of the week.

  • 19 steps
  • 15 min to set up
  • Free JSON file
Measure what workedPosts with sprkly

Apps it uses

  • Google Sheets
  • Shopify
  • Telegram

It starts on: schedule

How it works, step by step

  1. Find the posts

    Gets the posts that went out, then keeps the ones that went out on the day daysAfter days ago, in your time zone.

  2. Monday roll-up

    Every Monday: the follow-ups saved in the last 7 days, with the posts that brought the most orders.

  3. Count the orders

    An order counts when the page the buyer landed on has this post's tag.

  4. Send the follow-up

    One message per post.

What you need

  • The sprkly node: Settings, Community nodes, install n8n-nodes-sprkly (self-hosted n8n)
  • A sprkly API key
  • A Shopify login that can read orders
  • A Telegram bot and your chat ID
  • Links in your posts that end with ?utm_campaign=sprkly- and the post External ID
  • A Google Sheets login and a Post Follow-ups tab with: Post ID, Platform, Went Out, Post Link, Orders, Revenue, Currency, Link Tag, Checked At

See the flow

Each box is one step. Read left to right, then down. Boxes stacked together run side by side.

    • Every morning
    • Every Monday
    • Settings
    • Monday roll-up?
    • Get posts that went out
    • Read the follow-ups
    • Went out on the day to check
    • Write the roll-up
    • Get Shopify orders
    • Send the roll-up
    • Wait for both
    • Pick the details
    • Find this post's orders
    • Write the message
    • Save the follow-up
    • Send to Telegram

If a step fails

  1. When this workflow fails
  2. Write the failure alert
  3. Send the failure alert
Starts the runsprkly stepStepFailure alert

Set it up

  1. Add your sprkly key to Get posts that went out and your Shopify login to Get Shopify orders.

  2. Add your bot to the Telegram steps. In Settings, add your chat ID and time zone, and set daysAfter to a whole number from 3 to 7.

  3. Pick your sheet in Save the follow-up and Read the follow-ups.

  4. Failure alert: put your chat ID in Write the failure alert and your bot in Send the failure alert. Then in Workflow settings, set Error workflow to this workflow.

Test it

  • Set daysAfter to 1 on the day after a post went out. Run the workflow once. You get one message per post and one row each.
  • Click Test workflow with Every Monday picked to see the roll-up. Set daysAfter back after.

If something fails

A failure alert is built in. If a step fails, you get one Telegram message with the workflow name, the step and the reason. Want Slack or email instead? Swap the last step of the alert.

Get every workflow in one pack

Enter your email and the downloads open right here. Pick one zip for your group, or all 44 at once.

We keep your email as our privacy policy says.

  • Posts with sprkly

    Weekly numbers from sprkly and your sheet

    Every Monday it adds up last week: posts per platform from sprkly, against the week before, and the channel numbers you keep in a sheet. One row per channel, one Telegram summary.

    • Google Sheets
    • Telegram

    12 steps15 min to set up

  • Runs without sprkly

    Creator campaign closeout

    Confirms creator posts, matches orders by discount code and SKU, sums refunds, and hands open payouts to a person.

    • Gmail
    • Google Sheets
    • Notion
    • Shopify
    • Telegram
    • Trello

    30 steps30 min to set up

Ready to post from n8n?

Make a free sprkly account and copy your API key. Your first workflow can post today.

Get your API key