How to implement Github trigger using Zapier

This guide will walk you through the seamless integration of Github and Fuul, enabling you to automatically reward your community members for

This guide will walk you through the seamless integration of Github and Fuul, enabling you to automatically reward your community members for their participation and interactions.

What You’ll Learn:

  1. Creating a Github Conversion in Fuul: Set up a conversion event and point rule to track Github activities and reward users with points.
  2. Configuring Zapier for Automation: Connect Github and Fuul via Zapier to automate the tracking process.

By the end of this guide, you'll have a fully automated system that boosts engagement in your Github community while enhancing the user experience in your Fuul program.

Step-by-Step: Creating a Github Reward in Fuul

  1. Create a Trigger
  2. Choose ‘Github Activity’ Type
  3. Set Name and Description
  4. Specify Event NameThis step is crucial as you'll use this name in the Zapier configuration later. Enter an event name like "githubNewCommit". Make sure that the name is concise and does not include any spaces or special characters.
  5. Create a Conversion using the trigger you've just set up.
  6. Create a Points Rule associated with your new Github conversion.

Step-by-Step: Configuring Zapier for Github and Fuul Integration

  1. Create a New Zap
  2. Select the Github Trigger Event
    • Select the appropriate event from the list. This should correspond to the event you set up in Fuul, so let’s use ‘New Commit’
  3. Connect Your Github Account
    • If you haven’t connected your Github account yet, you’ll be prompted to do so. Follow the instructions to authorize Zapier to access your Github repo.
  4. Test Trigger
  5. Add an Action for Fuul
    • After configuring the trigger, it’s time to set up the action. Search for “Webhooks by Zapier” in the action app field. This will allow you to send data to Fuul.
    • Choose “POST” as the action event.
    • Complete the action setup with the following data:
      • URL: https://api.fuul.xyz/api/v1/events
      • Payload Type: json
      • Data:
        • name
          • githubNewCommit — Fuul trigger Event Name
        • args__github_username
          • select Username in Zapier
      • Headers
        • content-type
          • application/json
        • authorization
          • Bearer “my-fuul-key” — trigger event API KEY created in the Fuul app
  6. Test Your Zap
    • Test your zap.
    • Check if the event is in “Event logs” in the Fuul app.
  7. Activate Your Zap
    • After successful testing, turn on your zap to start automating the rewards process.

Link Your Wallet Address with Github and Receive Your Points

Once the integration is in place, it’s time to ensure that your users receive their rewards. Follow these simple steps to link your wallet address with Github and start earning points:

  1. Go to the Points Page of Your Program
  2. Link with Github
  3. Check Your Points

By completing these steps, you’ll be fully set up to both track and receive rewards for your contributions to the Github community.

Note:

Zapier's free plan allows you to automate up to 100 events per month. This means you can track  up to 100 Github activities. If you need to track more events or scale your automation, you can explore Zapier's various pricing plans here.

Can't find the right answer?

We’d be happy to help, please email us at ecosystem@fuul.xyz

Contact us