Google Assistant
Twitter
ifttt

An automated workflow using ifttt

Connects Google Assistant + Twitter

Use Google Assistant to post a tweet

About this workflow template

This automation scenario allows you to connect Google Assistant and Twitter

It can be build using Ifttt, a no-code workflow automation tool. Ifttt allows you to create automated bots using a simple drag-and-drop interface for non-technical users. This is a ready-made scenario, but it can be customized by adding more apps, actions, filters or branches.

Google Assistant and Twitter can also be integrated using automation tools other than ifttt:

Diagram

Use Google Assistant to post a tweet
Workflow diagram: Google Assistant + Twitter integration

How it works?

When this trigger fires in Google Assistant

Google Assistant

Say a phrase with a text ingredient in Google Assistant

This trigger fires when you say “Ok Google” to the Google Assistant followed by a phrase like “Post a tweet saying ‘New high score.’” **Use the $ symbol to specify where you'll say the text ingredient

Then this action happens in Twitter

Twitter

Post a tweet in Twitter

This Action will post a new tweet to your Twitter account. NOTE: Please adhere to Twitter’s Rules and Terms of Service.

How to set up this workflow

This guide contains information on how to set up an automatic workflow that allows to Use Google Assistant to post a tweet.

Part I

Configure Applications

First, we need to connect Google Assistant and Twitter to IFTTT.

  • Create IFTTT account.

    Create IFTTT account.

    Create IFTTT account if you don't have one.

  • Connect Google Assistant to IFTTT.

    Connect Google Assistant to IFTTT.

    Give IFTTT access to your Google Assistant account, using Google Assistant credentials.

  • Connect Twitter to IFTTT.

    Connect Twitter to IFTTT.

    Give IFTTT access to your Twitter account, using Twitter credentials.

Part II

Build an integration workflow

Next, we need to create a workflow automation scenario using graphical no-code web interface of IFTTT.

  • Set up a Trigger action for Google Assistant

    Set up a Trigger action for Google Assistant

    Choose the following trigger: Say a phrase with a text ingredient (This trigger fires when you say “Ok Google” to the Google Assistant followed by a phrase like “Post a tweet saying ‘New high score.’” **Use the $ symbol to specify where you'll say the text ingredient).

  • Then set up an Action for Twitter

    Then set up an Action for Twitter

    Choose this action: Post a tweet (This Action will post a new tweet to your Twitter account. NOTE: Please adhere to Twitter’s Rules and Terms of Service.).

Part III

Test and Publish

Finally, we need to test this automation and publish it.

  • Customize data flow

    Customize data flow

    Configure the data that is exchanged between Google Assistant and Twitter.

  • Test the workflow and turn it on for production use

    Test the workflow and turn it on for production use

    Test your scenario and publish to production. Now you have an automatic workflow, that will Use Google Assistant to post a tweet!

Supported triggers and actions

  • Twitter

    Search tweets

    Triggers when there is a new tweet matching your search term

    automateiopipedream
    triggerbyautomateiopipedream
  • Twitter

    Search mention

    Triggers when any user creates a new Tweet that contains a specific search term (like a word, phrase, username or hashtag).

    zapier
    triggerbyzapier
  • Twitter

    New tweet by you

    This Trigger fires every time you post a new tweet.

    ifttt
    triggerbyifttt
  • Twitter

    New tweet by a specific user

    This Trigger fires every time the Twitter user you specify tweets.

    ifttt
    triggerbyifttt
  • Twitter

    New follower

    Triggers when a user of your choosing gets a new follower.

    zapieriftttautomateiopabbly-connect
    triggerbyzapieriftttautomateiopabbly-connect
  • Twitter

    New tweet from search

    This Trigger fires every time a new tweet matches your search query. Limited to 10 tweets per check, and protected tweets will not be returned.

    ifttt
    triggerbyifttt
  • Google Assistant

    Say a simple phrase

    This trigger fires when you say “Ok Google” to the Google Assistant followed by a phrase you choose. For example, say “Ok Google, I’m running late” to text a family member that you’re on your way home.

    ifttt
    triggerbyifttt
  • Google Assistant

    Say a phrase with a text ingredient

    This trigger fires when you say “Ok Google” to the Google Assistant followed by a phrase like “Post a tweet saying ‘New high score.’” **Use the $ symbol to specify where you'll say the text ingredient

    ifttt
    triggerbyifttt
  • Google Assistant

    New pushed voice message

    Triggers when invoked via Google Assistant

    zapier
    triggerbyzapier
  • Google Assistant

    Say a phrase with a number

    This trigger fires when you say “Ok Google” to the Google Assistant followed by a phrase like “Set Nest thermostat to 68.” **Use the # symbol to specify where you'll say the number ingredient

    ifttt
    triggerbyifttt
  • Google Assistant

    Say a phrase with both a number and a text ingredient

    This trigger fires when you say “Ok Google” to the Google Assistant followed by a phrase like “Block time for ‘exercise’ at 6 PM.” **Use the # symbol to specify where you'll say the number ingredient and $ where you'll say the text ingredient

    ifttt
    triggerbyifttt

Apps you need

Google Assistant

Google Assistant

Marketing Automation

AI-powered virtual assistant by Google

Meet your Google Assistant. Ask it questions. Tell it to do things. It's your own personal Google, always ready to help whenever you need it. Create custom voice commands for your Google Assistant. Available on Android, iOS and Google Home devices.

Twitter

Twitter

Social Networks

A real-time social networking platform for connecting and engaging with people

Twitter, the real-time social network, lets you share ideas, follow trends, and join conversations worldwide. Stay connected with short messages called "tweets" and engage with a diverse community.

IFTTT

IFTTT

Automation Platforms

An automation service with a simple formula - IF This Then That

IFTTT helps to create applications connections with a simple statement: if this then that. For example: "Tweet your Instagrams as native photos on Twitter". You define a task by a trigger and an action.