ChainJet
  • Introduction
  • Quickstart
  • Campaigns
  • Automations
  • Formatting inputs
    • Formatting Text
    • Formatting Numbers
  • Templates
  • Credentials
  • Integrations
    • Discord
    • OpenAI
    • Telegram Custom Bot
    • Lens Protocol 🌿
      • 🤖ChainJetBot
        • Translate a post to any language and publish it with a comment
        • Send a post by DM
        • Add a user to a Lens list
        • Share post on Discord
    • Mirror
    • POAP
    • XMTP
  • Tutorials
    • Automate messages to all users who claim your POAP
    • Export ALL of your Lens followers to Notion
    • Add Notion Database Item for Every New Lens Follower.
    • Add New POAP Holders to Your Notion Database
    • Translate a Lens post to any language
    • Create Discord commands
    • Telegram notification for new address transactions
    • Get Discord notifications for new Smart Contract events
  • Support and Community
    • 🌐WebSite
    • 👥Discord
    • 📧Email
    • 🐦Twitter
    • 🌼Hey
    • ⚫GitHub
    • 🗞️Newsletter
Powered by GitBook
On this page

Was this helpful?

  1. Integrations
  2. Lens Protocol 🌿
  3. ChainJetBot

Send a post by DM

PreviousTranslate a post to any language and publish it with a commentNextAdd a user to a Lens list

Last updated 2 years ago

Was this helpful?

In this tutorial, we'll show you how to send a post by DM to any Lens user with @ChainJetBot with just a comment.

Here's how to do it:

  • Log in to ChainJet with your wallet. Once you're in your dashboard, click on "Create Workflow".

  • Add a trigger, click on "Add Trigger" and select the Lens Protocol integration. Choose the trigger "New Mention to @ChainJetBot.lens". If this is your first time using the integration, you'll need to connect your Lens profile. Then, enter the keyword or phrase that you want to activate your workflow. In this case, we'll use "dm".

  • Add an action, click on the "+" button below the trigger. Select the Lens Protocol integration and choose the "Get Publication" action. Fill in the "Publication ID" field and select "Main Post" from the drop-down menu.

  • Add the last action, click on the "+" button under the Lens action. Select the XMTP integration, connect your account, and choose "Send a message to a Lens handle".

  • Complete two fields in this action. Firstly, select "Mention" from the drop-down menu for the Lens Handle field. This will allow you to take the handle of the Lens user you write in the comment. Secondly, fill in the message field with the information you want to send by direct message. In this example, we'll use the username and content of the post. To do this, select "Handle" and "Metadata.Content" from the drop-down menu inside the "Get Publication" action.

That's it! Your workflow is ready. Now, comment on a post in Lens Protocol as follows: "@ChainJetBot dm @ChainJet.lens" (you can replace "@ChainJet.lens" with the username of the Lens user you want to send the post to).

🤖