Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7989501
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T12:46:12+00:00 2026-06-04T12:46:12+00:00

I am trying to set up a system where people can send an email

  • 0

I am trying to set up a system where people can send an email to a certain address to have their phone number added to a database. I was hoping to use Automator to accomplish a lot of this. So far, this is what I have as a workflow:

1. Get New Mail For: DEMO
2. Find Mail Messages where All of the following are true: Entire Message contains BEACH
3. Get Selected Mail Messages
4. Extract Phone Numbers From Text
5. New Text Edit Document

This works, except Extract Phone Numbers From Text “was not supplied with the required data.” Never mind the DB stuff yet – that’s for another question –, how can I extract a phone number from the subject AND sender of an email in Automator? I’m clearly doing something wrong somewhere.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T12:46:13+00:00Added an answer on June 4, 2026 at 12:46 pm

    You fail to extract data from the text of the mail messages because you are not actually passing text to the extract action – you are passing mail message objects. If you want to process the sender and subject of a message, you will have to insert a “Run AppleScript” action with the following content before the “Extract Data from Text” action:

    using terms from application "Mail"
        on run {input, parameters}
            set mailContents to {}
            repeat with aMessage in input
                set end of mailContents to subject of aMessage
                set end of mailContents to sender of aMessage
            end repeat
            return mailContents
        end run
    end using terms from
    

    – this will loop over all mail message objects and append their sender and subject properties to a list that is passed to the “Extract” action.

    A few notes on your workflow

    • Your “Get Selected Mail Messages” action isn’t needed after the “Find Mail Items” action – that returns a list of messages already (you would need it to return all messages from an account or mailbox, but you are filtering down to message level already).
    • You might want to filter down where you look for messages, as the “Find” action takes a long time on large mail databases. If you start by finding a mail account, or better even, mailbox (“Inbox”, for instance), you can then insert a “Filter mail Items” action to return only the messages conforming to your search criteria (you can extend that into a cascade if you only want to look throughout the inbox of one of several mail accounts: find the account, filter on inbox, then filter on message criteria).
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to set a reminder in a system to fire at a certain
I've been trying to set up a system whereby I can generate a series
I'll try my best to explain how I'm trying to set up this system.
Im trying to set up a PayPal IPN system on my site, but I
I am trying to set up an automated build system on Windows using Cygwin.
I am trying to set my columns default date time to system datetime. It
I am trying to set up a pretty basic messaging system with ActiveMQ. I
I am currently playing with Qt trying to set up a small particle system.
Trying to set it so if a certain condition is met then one of
I'm trying to make the domain model of a management system. I have the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.