About this trigger
Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.
Developer info
- Description
- This Trigger fires every time you have a new legislator representing you in Congress.
- API endpoint slug
- propublica.new-legislators
Trigger fields
Location Location input > Point
- Label
- Location
- Helper text
- Select where you live so we can find your congressional district
- Slug
- location
- Required
- true
- Can have default value
- true
Ingredients
NameName and title of the legislator.
- Slug
- name
- Filter code
- Propublica.newLegislators.Name
- Type
- String
- Example
- Rep. Barbara Mikulski
StateState and district the legislator represents.
- Slug
- state
- Filter code
- Propublica.newLegislators.State
- Type
- String
- Example
- MD-6
PartyThe legislator's party affiliation.
- Slug
- party
- Filter code
- Propublica.newLegislators.Party
- Type
- String
- Example
- D
Twitter usernameThe legislator's Twitter username.
- Slug
- twitter_username
- Filter code
- Propublica.newLegislators.TwitterUsername
- Type
- String
- Example
- SenTedCruz
PhonePhone number for the legislator's DC office.
- Slug
- phone
- Filter code
- Propublica.newLegislators.Phone
- Type
- String
- Example
- 555-555-5555
WebsiteThe URL of the legislator's official website.
- Slug
- website
- Filter code
- Propublica.newLegislators.Website
- Type
- String
- Example
- http://delaney.house.gov
DateThe date the legislator was sworn into their current seat.
- Slug
- date
- Filter code
- Propublica.newLegislators.Date
- Type
- Date (ISO8601)
- Example
- 2020-07-07