Recipes

Automatically tweet a prediction for a match 30 minutes before it starts

Trigger

  • Make sure that you selected Prediction as a trigger for our action

  • Use the credentials defined in Connect to Zapier and click next until you reach Set Up Options

  • For the prediction market choose Over 25 (or any other available prediction market)

We will use Over 25 prediction market which predicts whether there will be more than or less than 2.5 goals scored in a match.

The available markets depends on your Football Prediction API subscription.

Details about each prediction market can be found here

  • Leave the federation field empty as we are interested in all available predictions.

  • Minutes before start set this to 30. (we want to post to twitter 30 minutes before the start of the actual match)

  • Test this step it is useful to have a sample for the current market

Action

  • Click +Add a step from the left panel and press Action/Search

  • Search for Twitter and choose Create Tweet

  • Connect to your Twitter account and Edit Template

  • Write your template for the tweet, toggle Setup Preview to get an idea on how it would look based on the sampled prediction.

  • With the template in place, you are almost done.

  • A general recommendation is to click Send Test To Twitter to see the prediction actually posted to Twitter.

When creating a Zap for the first time, Zapier will check all the available predictions for the Minutes before start you defined.

It automatically makes sure it doesn't post the same prediction twice, that is why it will start considering new predictions after the initial interval defined.

This means effectively that the recipe we just created will consider as new any match starting > 30 minutes from now.

Save tomorrow's predictions for UEFA to a Google Sheets spreadsheet

Trigger

  • Make sure that you selected Tomorrow's Predictions as a trigger for our action

  • Use the credentials defined in Connect to Zapier and click next until you reach Set Up Options

  • For the prediction market choose Over 35

We will use Over 35 prediction market which predicts whether there will be more than or less than 3.5 goals scored in a match. (yes or no)

The available markets depends on your Football Prediction API subscription.

Details about each prediction market can be found here

  • For the federation choose UEFA.

  • Test this step as it is useful to have a sample for the current market.

Action

  • Click +Add a step from the left panel and press Action/Search

  • Search for Google Sheets and choose Create Spreadsheet Row

  • Connect to your Google Sheets account and click continue

Google Sheets

  • Copy the first row from this Google Sheet template and create a new Google Spreadsheet where you will get the predictions.

  • Paste the row into the new spreadsheet and optionally rename the Worksheet name of the current Worksheet to something matching the prediction market.

Back to Zapier

  • You should now be in the Edit Template section of Zapier

  • Set the Speadsheet to the one created earlier

  • The worksheet should be the one renamed earlier.

  • For each field in the Spreadsheet header we need to match one from the trigger.

Depending on your subscription type, you may not have access to all the fields. (e.g only MEGA has access to team strength)

Leave it blank if not found in the response from Step 1.

  • With the mapping in place, you are done, however it is recommended to test everything is working by pressing the Send Test To Google Sheets button

  • If you go back to your Google Spreadsheet you should see the sample row sent by the test.

  • You will start seeing new predictions added to you spreadsheet once a day after 00:00 London Timezone.

Over 1000 apps on Zapier

These two recipes above serve as an example, you can use any of the over 1000 apps supported by Zapier and they all work automatically.

It is up to your imagination how you plan to use them.

Last updated

Was this helpful?