ChainFlow: Composable Workflows with Chainlink Power

Imagine building workflows that seamlessly connect your favorite tools like Discord, Slack, Notion, and even powerful Chainlink Functions. This is the vision behind ChainFlow!

What ChainFlow does:

ChainFlow empowers users to create and execute composable workflows triggered by Chainlink Functions. This unlocks exciting possibilities for automated processes, decentralized applications, and more.

How we built it:

We utilized the power of Next.js to construct a full-stack application, leveraging Auth.js for secure authentication. The workflow builder itself is built using the robust ReactFlow library, providing a visually intuitive interface for users to craft complex workflows. The entire project is deployed on Vercel and backed by a scalable Neon database using the Drizzle ORM.

Challenges we encountered:

  • Off-chain to Chainlink Integration: Bridging the gap between social components and Chainlink Functions presented unique challenges. Chainlink Functions execute across multiple nodes, requiring careful handling of edge cases through task IDs for deduplication and ensuring idempotency in the notification system.
  • Auth.js Integration: We encountered challenges with Auth.js integration, limiting the project's full potential within the given timeframe.
  • AI Integration: Due to time constraints, the integration of AI capabilities was not fully realized.

Accomplishments we're proud of:

  • Chainlink Function Integration: Successfully integrated ChainFlow functions as triggers for initiating workflows, unlocking new levels of automation.
  • Sophisticated Workflow Editor: Developed a complex and intuitive workflow editor using React Flow, allowing users to easily design intricate workflows.
  • Multi-Platform Connectivity: Successfully connected ChainFlow to popular platforms like Discord, Notion, and Slack, expanding its reach and functionality.

What we learned:

  • TypeScript Mastery: We deepened our understanding of TypeScript, mastering its capabilities for building robust and scalable applications.
  • Cross-Platform Integration: Gaining invaluable experience in connecting various platforms and services, including Chainlink Functions.
  • Solidity and Hardhat: We gained exposure to Solidity and Hardhat, expanding our knowledge of smart contract development.

What's next for ChainFlow:

  • AI Integration: Implementing AI-powered custom prompts for each workflow, enabling more dynamic and intelligent automation.
  • Chainlink Automation: Connecting to Chainlink Automation for time-based automation, allowing workflows to be triggered based on specific schedules.

ChainFlow is just beginning its journey. With its powerful capabilities and ambitious roadmap, it has the potential to revolutionize how we build and interact with decentralized applications.

Built With

  • authjs
  • chainlink
  • discord
  • hardhat
  • next.js
  • notion
  • react
  • slack
  • trpc
  • vercel
Share this project:

Updates