20min

Create A Zapier Automation With mintBlue

Check the quick start for more information on creating access tokens and projects

In this tutorial we will create an automation, publishing all e-mails received from a certain e-mail address to the blockchain automatically.

ο»Ώ[Warning! This is just an example, if you actually do this your email content will be publicly accessible on the blockchain!]ο»Ώ

1. Prepare your mintBlue account

1.1 Create a Project

When logged into your mintBlue account, click "Projects" in the navigation on the left. Click the "New Project" button and fill in your project's details (see below image). For this example you could name your project "Zapier" for example.

Create a project
Create a project

1.2 Create an Access Token

To create an Access Token, go to "Open Settings" in the bottom left of your account screen, and then click "Access Tokens".

Document image

On the "Access Tokens" page. Click the "New token" button in the upper right of your screen.

Choose a name for your access token that will allow you to identify it easily. Optionally set an expiration date. Then click "Save".

The Access Tokens settings page
The Access Tokens settings page

Access Tokens come in two forms:

  1. API Tokens
  2. SDK Tokens

API Tokens are only used to talk to mintBlue's API directly. They cannot be used to decrypt your non-custodial keys. If you are building a Zapier automation, you will use the API token in a few moments!

ο»Ώ

2. Create a new Zap in Zapier

2.1 Configure the trigger (gmail)

Go to your Zapier dashboard at https://zapier.com/app/dashboardο»Ώ

  • Click the "Create Zap" button in the top left corner:
Create Zap button
Create Zap button
  • Define which app and event will trigger the automation
Choose App "Gmail" and event "New Email Matching Search"
Choose App "Gmail" and event "New Email Matching Search"
  • Choose App "Gmail" and event "New Email Matching Search"
    • Sign in to your Gmail account as instructed
Document image
  • Define which emails will trigger the automation
    • In this example we will only look for e-mail coming from a specific address
Define search
Define search

In the next step you can test your trigger and will be shown an example e-mail. Continue through this and then define which action to run when the automation is triggered.

2.2 Configure the action (mintBlue)

Choose app "mintBlue" and event "Create a Data Transaction"

Create a Data Transaction
Create a Data Transaction
  • Proceed to "Sign in to mintBlue" in Zapier
    • Use the API Token you have obtained earlier in this guide to complete this process
Connect mintBlue
Connect mintBlue
  • Then select the "Zapier" project you have created earlier in this guide
    • In the first Data field, select "Body plain" (which is the e-mail's content) and continue
Configure the action
Configure the action
  • Click "Test & Review" to create your Zapier first transaction!
Document image
  • Click "Publish Zap" to activate the automation

Congrats! You have successfully set up an automation pushing filtered e-mails to the blockchain!

Whats Next!?

Now that you've done this setup with email, try it with your Twitter account to save all your tweets to the chain!

ο»Ώ

Updated 08 Jul 2022
Did this page help you?
Yes
No